func (cmd Authenticate) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error) { if len(c.Args()) != 2 { err = errors.New("Incorrect Usage") cmd.ui.FailWithUsage(c, "auth") return } reqs = append(reqs, reqFactory.NewApiEndpointRequirement()) return }
func (cmd MarketplaceServices) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error) { reqs = append(reqs, requirementsFactory.NewApiEndpointRequirement()) return }