6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 04:24:41 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
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