(deps commandregistry.Dependency, pluginCall bool)
| 51 | } |
| 52 | |
| 53 | func (cmd *DeleteUser) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command { |
| 54 | cmd.ui = deps.UI |
| 55 | cmd.config = deps.Config |
| 56 | cmd.userRepo = deps.RepoLocator.GetUserRepository() |
| 57 | return cmd |
| 58 | } |
| 59 | |
| 60 | func (cmd *DeleteUser) Execute(c flags.FlagContext) error { |
| 61 | username := c.Args()[0] |
nothing calls this directly
no test coverage detected