()
| 75 | } |
| 76 | |
| 77 | func (cmd TargetCommand) clearTargets() { |
| 78 | if cmd.Organization != "" { |
| 79 | cmd.Config.UnsetOrganizationAndSpaceInformation() |
| 80 | } else if cmd.Space != "" { |
| 81 | cmd.Config.UnsetSpaceInformation() |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | // setOrgAndSpace sets organization and space |
| 86 | func (cmd *TargetCommand) setOrgAndSpace() error { |
no test coverage detected