mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
refactor: small updates to color and flag checking
This commit is contained in:
@@ -49,6 +49,10 @@ var rootCmd = &cobra.Command{
|
||||
screen.MoveTopLeft()
|
||||
sel_auth := tui.Entry()
|
||||
message = utils.Commit(args[0], sel_auth)
|
||||
if tflag {
|
||||
fmt.Println(message)
|
||||
return
|
||||
}
|
||||
goto tui
|
||||
case 1:
|
||||
if len(args) == 1 {
|
||||
|
||||
Reference in New Issue
Block a user