(deps commandregistry.Dependency, pluginCall bool)
| 47 | } |
| 48 | |
| 49 | func (cmd *ListStacks) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 50 | cmd.ui = deps.UI |
| 51 | cmd.config = deps.Config |
| 52 | cmd.stacksRepo = deps.RepoLocator.GetStackRepository() |
| 53 | return cmd |
| 54 | } |
| 55 | |
| 56 | func (cmd *ListStacks) Execute(c flags.FlagContext) error { |
| 57 | cmd.ui.Say(T("Getting stacks in org {{.OrganizationName}} / space {{.SpaceName}} as {{.Username}}...", |
nothing calls this directly
no test coverage detected