(deps commandregistry.Dependency, pluginCall bool)
| 63 | } |
| 64 | |
| 65 | func (cmd *UnsetOrgRole) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 66 | cmd.ui = deps.UI |
| 67 | cmd.config = deps.Config |
| 68 | cmd.userRepo = deps.RepoLocator.GetUserRepository() |
| 69 | cmd.flagRepo = deps.RepoLocator.GetFeatureFlagRepository() |
| 70 | return cmd |
| 71 | } |
| 72 | |
| 73 | func (cmd *UnsetOrgRole) Execute(c flags.FlagContext) error { |
| 74 | user := cmd.userReq.GetUser() |
nothing calls this directly
no test coverage detected