code: func (_m *CommandRegistrar) Command(name string, help string, onCommand common.CLICommand) *kingpin.CmdClause {
  	ret := _m.Called(name, help, onCommand)
  
  	var r0 *kingpin.CmdClause
  	if rf, ok := ret.Get(0).(func(string, string, common.CLICommand) *kingpin.CmdClause); ok {
  		r0 = rf(name, help, onCommand)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(*kingpin.CmdClause)
  		}
  	}
  
  	return r0
  }
docs: // Command provides a mock function with given fields: name, help, onCommand