Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "undefined" BuildDate = "undefined" )
View Source
var RootCmd = &cobra.Command{ Use: "sfd [COMMAND]", Short: "generic project scaffolding tool", Long: `sfd provides file and project template management.`, Run: func(cmd *cobra.Command, args []string) { if cmd.Flags().Lookup("version").Changed { fmt.Println("sfd version:", Version, "\nBuild:", BuildDate) } else { cmd.Help() } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.