Grzegorz Dlugoszewski
4868713746
Update help commands and errors messages
2020-06-19 16:39:26 +02:00
Grzegorz Dlugoszewski
de51c05158
Update readme, add some todos, add example svg
2020-06-19 13:31:01 +02:00
Grzegorz Dlugoszewski
32211e6408
Cleanup the print package
...
- Use strings.Builder instead of concatenation
- Move smart tree to a separate file
- Add missing docstrings
2020-06-18 19:20:03 +02:00
Grzegorz Dlugoszewski
5a588f22d1
Refactor implementations of get and list commands
...
- Simplify the main functions by moving actual implementation to "pkg" package
- Remove the "path" package and move files into the root "pkg" package
- Replace viper with explicit Cfg structs
2020-06-18 15:44:10 +02:00
Grzegorz Dlugoszewski
f3d0df1bfd
Refactor packages structure
...
- Isolate files into their own packages
- Create new printer package and interface
- Refactor Repo stuct to embed the go-git *Repository directly
- Simplify cmd package
2020-06-08 12:07:03 +02:00
Grzegorz Dlugoszewski
29c21cb78d
Improve the implementation of the smart tree printer
...
It now correctly indents lines with branches status
2020-06-06 16:56:42 +02:00
Grzegorz Dlugoszewski
13c03bc2ef
Add new tree implementation and remove treeprint dependency
2020-06-06 10:00:11 +02:00
Grzegorz Dlugoszewski
f2d8496136
Refactor config provider using viper
2020-06-04 11:38:01 +02:00
Grzegorz Dlugoszewski
142fdf1844
Add printing status of multiple branches
2020-06-03 16:21:01 +02:00
Grzegorz Dlugoszewski
64dfea5a7f
Add a list flag and basic rendering of repos status
2020-06-03 15:59:51 +02:00
Grzegorz Dlugoszewski
b7bd30c960
Check if repos root exists and is not empty before opening repos
2020-06-03 13:25:01 +02:00
Grzegorz Dlugoszewski
8a79dcfd9f
Add checking what is the current branch and if HEAD is detached
2020-06-02 16:46:10 +02:00
Grzegorz Dlugoszewski
abf220355c
Add basic printing of all repos status
2020-06-02 12:40:22 +02:00