(fc flags.FlagContext)
| 55 | } |
| 56 | |
| 57 | func (cmd *SSHAllowed) Execute(fc flags.FlagContext) error { |
| 58 | space := cmd.spaceReq.GetSpace() |
| 59 | |
| 60 | if space.AllowSSH { |
| 61 | cmd.ui.Say(fmt.Sprintf(T("ssh support is enabled in space ")+"'%s'", space.Name)) |
| 62 | } else { |
| 63 | cmd.ui.Say(fmt.Sprintf(T("ssh support is disabled in space ")+"'%s'", space.Name)) |
| 64 | } |
| 65 | return nil |
| 66 | } |