campaigner/cmd/init.go

22 lines
378 B
Go
Raw Normal View History

2020-02-29 00:49:55 +01:00
package cmd
import (
"github.com/spf13/cobra"
)
func InitCmd() *cobra.Command {
return &cobra.Command{
Use: "init",
Short: "Creates a new campaign in the current directory",
Args: cobra.NoArgs,
RunE: initCmdF,
}
// add mandatory flags for epic, tags, etc
}
func initCmdF(_ *cobra.Command, _ []string) error {
// creates the campaign.json file
return nil
}