cmd

package
v3.0.0-alpha.3+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "3.0.0-alpha.3"

Version is the version of the current build. It follows semantic versioning.

Variables

View Source
var BinaryName string
View Source
var RootCmd = &cobra.Command{
	Use:   BinaryName,
	Short: "A friendly command-line interface to Exercism.",
	Long: `A command-line interface for https://v2.exercism.io.

Download exercises and submit your solutions.`,
}

RootCmd represents the base command when called without any subcommands.

Functions

func BailOnError

func BailOnError(err error)

BailOnError handles exitable errors in commands. TODO: figure out what goes here.

func Execute

func Execute()

Execute adds all child commands to the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL