type Command

type Command func(*Cosys) *cobra.Command

Command takes in a Cosys struct and returns a command.

func (Command) String

func (c Command) String() string

String returns the name of the command, i.e. the word used to run the command in the cli.