mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 12:45:47 +00:00
refactor: add string function to config struct to allow for extendable printing of future fields
This commit is contained in:
+1
-3
@@ -30,9 +30,7 @@ COMING SOON`,
|
||||
} else {
|
||||
fmt.Println("Current configuration:")
|
||||
}
|
||||
fmt.Println("Author File:", utils.ConfigVar.Settings.AuthorFile)
|
||||
fmt.Println("Starting Scope:", utils.ConfigVar.Settings.StartingScope)
|
||||
fmt.Println("Editor:", utils.ConfigVar.Settings.Editor)
|
||||
fmt.Println(utils.ConfigVar.String())
|
||||
}
|
||||
|
||||
// Check if the config file exists
|
||||
|
||||
Reference in New Issue
Block a user