// Add adds a command to global state.
Add adds a command to global state.
// Add adds a command to global state .
func Add(name string, f func(), description string) {
	state.cmds.add(&Command{
		Name:        name,
		Description: description,
		f:           f,
	})
}
func Add ( name string , f func ( ) , description string ) { state . cmds . add ( & Command { Name : name , Description : description , f : f , } ) }
Add adds a command to global state.
Add adds a command to global state .