()
| 21 | ) |
| 22 | |
| 23 | func rootCmd() { |
| 24 | fmt.Printf(`Dnote server - a simple command line notebook |
| 25 | |
| 26 | Usage: |
| 27 | dnote-server [command] [flags] |
| 28 | |
| 29 | Available commands: |
| 30 | start: Start the server (use 'dnote-server start --help' for flags) |
| 31 | user: Manage users (use 'dnote-server user' for subcommands) |
| 32 | version: Print the version |
| 33 | `) |
| 34 | } |
| 35 | |
| 36 | // Execute is the main entry point for the CLI |
| 37 | func Execute() { |