Skip to content

Commit 3029ef2

Browse files
authored
Merge pull request #98 from smlx/default-command
chore: configure default command
2 parents 2642e8b + fd99049 commit 3029ef2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/go-cli-github/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// CLI represents the command-line interface.
99
type CLI struct {
1010
Version VersionCmd `kong:"cmd,help='Print version information'"`
11-
Serve ServeCmd `kong:"cmd,help='Example serve command'"`
11+
Serve ServeCmd `kong:"cmd,default=1,help='(default) Example serve command'"`
1212
}
1313

1414
func main() {

0 commit comments

Comments
 (0)