cli/pkg/cmd
Charlie Andrews 599c7c900f Disallow getting logs from codespaces with pending ops
Since the API already disallows this, this pretty much just cleans up
the error reporting to the user.

Example of old error:

```
$ gh cs logs -c cwndrws-redacted
Starting codespace ⣽connecting to codespace: error starting codespace: HTTP 422: your codespace has an operation pending: updating to a sku with a different amount of storage; please wait until this operation is complete (https://api.github.com/user/codespaces/cwndrws-redacted/start)
exit status 1

```

Example of new error:

```
$ gh cs logs -c cwndrws-redacted
codespace is disabled while it has a pending operation: Changing machine types...
exit status 1
```
2022-03-15 17:21:28 -04:00
..
actions gh: list help topics in help output 2022-02-18 18:39:30 +01:00
alias Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00
api gh api: clarify how to pass API preview names 2022-02-18 18:39:30 +01:00
auth Add note about git auth 2022-02-21 15:24:54 +01:00
browse Fix browse last commit when using the repo override flag (#4845) 2021-12-13 15:00:22 +01:00
codespace Disallow getting logs from codespaces with pending ops 2022-03-15 17:21:28 -04:00
completion Use StringEnumFlag helper in more places 2022-02-18 12:52:47 +01:00
config Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00
extension Add version to extension list command (#5219) 2022-03-07 07:14:26 +00:00
factory Handle SAML enforcement challenge from the server (#5054) 2022-01-19 14:22:22 +01:00
gist Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00
gpg-key Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00
issue Merge remote-tracking branch 'origin' into docs-improvements 2022-02-21 15:24:18 +01:00
pr pr merge switch to base branch if available (#5251) 2022-03-14 14:02:57 +02:00
release Have core commands have consistent Short description 2022-02-18 18:39:30 +01:00
repo Add interactive repository edit functionality (#4895) 2022-03-14 17:49:03 +00:00
root Add top level search command and search repos sub command (#5172) 2022-03-09 12:24:27 +00:00
run Merge pull request #5275 from cdb/cdb/rerun-failed-jobs 2022-03-15 12:08:36 -05:00
search Add top level search command and search repos sub command (#5172) 2022-03-09 12:24:27 +00:00
secret Support setting Dependabot secrets (#5134) 2022-03-15 07:44:51 +02:00
ssh-key Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Alias list as ls for all commands (#5214) 2022-02-17 13:53:42 +01:00