Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "3.0.0-alpha.7.v2"
Version is the version of the current build. It follows semantic versioning.
Variables ¶
View Source
var ( // BinaryName is the name of the app. // By default this is exercism, but people // are free to name this however they want. // The usage examples and help strings should reflect // the actual name of the binary. BinaryName string // Out is used to write to the required writer. Out io.Writer // In is used to provide mocked test input (i.e. for prompts). In io.Reader )
View Source
var RootCmd = &cobra.Command{ Use: BinaryName, Short: "A friendly command-line interface to Exercism.", Long: `A command-line interface for the v2 redesign of Exercism. Download exercises and submit your solutions.`, SilenceUsage: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { if verbose, _ := cmd.Flags().GetBool("verbose"); verbose { debug.Verbose = verbose } }, }
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.