Documentation
¶
Overview ¶
Package cmd defines and implements command-line commands and flags used by Ayi. Commands and flags are implemented using Cobra. it is generated by cobra https://github.com/spf13/cobra/tree/master/cobra and modified following https://github.com/spf13/hugo/blob/master/commands/hugo.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "Ayi", Short: "Ayi makes your life easier", Long: `Ayi is a collection of small applications and tools that speed up your develop process`, Run: func(cmd *cobra.Command, args []string) { if version { versionCmd.Run(cmd, args) return } color.Green("Use 'Ayi help' to see all commands") }, }
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.