diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 12:37:34 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 12:37:34 +0300 |
commit | 59a1e23dcc69fb5dd33f505e3b8f4923770e73a2 (patch) | |
tree | 2fdc86e3bac64ffada673b3fa2d5b8171d2d5bef | |
parent | a23b77f76f373cd02192117e0ba0aaa389aa9c1a (diff) |
feat: add quiz import command to CLI
-rw-r--r-- | cmd/root.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/root.go b/cmd/root.go index 1048bf2..d1747c3 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -14,6 +14,10 @@ var cfgFile string var rootCmd = &cobra.Command{ Use: "demoon", Short: "demoon", + Run: func(cmd *cobra.Command, args []string) { + // Default action if no subcommand provided + cmd.Help() + }, } func init() { |