mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
test: create tests for the util functions
This commit is contained in:
@@ -31,11 +31,12 @@ var rootCmd = &cobra.Command{
|
||||
switch len(args) {
|
||||
case 0:
|
||||
// launch the tui
|
||||
sel_auth := tui.Entry()
|
||||
for _, a := range sel_auth {
|
||||
fmt.Println(a)
|
||||
}
|
||||
os.Exit(0)
|
||||
args = append(args, tui.Entry_CM())
|
||||
fmt.Println(args[0])
|
||||
//sel_auth := tui.Entry()
|
||||
// for _, a := range sel_auth {
|
||||
// fmt.Println(a)
|
||||
// }
|
||||
case 1:
|
||||
if len(args) == 1 {
|
||||
utils.GitWrapper(args[0])
|
||||
|
||||
Reference in New Issue
Block a user