grim/wasdead

Make the run command the default command
draft
2020-09-26, Gary Kramlich
43eaf7bd7bbb
Parents 3910e3ab79d3
Children f141bfcf7ef0
Make the run command the default command
  • +1 -1
    main.go
  • --- a/main.go Thu Jun 18 00:22:21 2020 -0500
    +++ b/main.go Sat Sep 26 03:29:07 2020 -0500
    @@ -24,7 +24,7 @@
    type cli struct {
    globals.Globals
    - Run run.RunCmd `kong:"cmd,help='Run the bot'"`
    + Run run.RunCmd `kong:"cmd,help='Run the bot',default='1'"`
    Tidy commands.TidyCmd `kong:"cmd,help='clean up the database'"`
    Version versionCmd `kong:"cmd,help='Display the version of this program'"`
    }