diff --git a/cmd/add.go b/cmd/add.go new file mode 100644 index 0000000..c1f43f5 --- /dev/null +++ b/cmd/add.go @@ -0,0 +1,20 @@ +package cmd + +import ( + "github.com/spf13/cobra" +) + +func AddCmd() *cobra.Command { + return &cobra.Command{ + Use: "add", + Short: "Adds tickets to the campaign", + Args: cobra.NoArgs, + RunE: addCmdF, + } + + // add flags and examples +} + +func addCmdF(_ *cobra.Command, _ []string) error { + return nil +} diff --git a/cmd/root.go b/cmd/root.go index d5a4219..cc2e9d9 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -14,6 +14,7 @@ func RootCmd() *cobra.Command { } cmd.AddCommand( + AddCmd(), InitCmd(), TokenCmd(), )