feat(config): warn_on_delete, warn_on_overwrite, display_art toggles in config

This commit is contained in:
Lewis Wynne 2025-12-18 13:30:38 +00:00
parent 62c770dbf3
commit 6efa9863fe
5 changed files with 43 additions and 19 deletions

View file

@ -28,15 +28,18 @@ import (
)
var (
version = "2025.51"
version = "pda! 2025.51 release"
)
// versionCmd represents the version command
var versionCmd = &cobra.Command{
Use: "version",
Short: "Show the version of your CLI tool",
Short: "Display pda! version",
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf("pda! %s\n", version)
if config.DisplayArt {
fmt.Print(asciiArt + "\n ")
}
fmt.Printf("%s\n", version)
},
}