When an operation completes, the poll.sh script emits the entire operation.
This is often quite verbose and one needs to scroll back in their window to see simply whether the operation completed successfully or not.
gcloud supports some very nice output formatting options (see "gcloud topic formats"), and so for example it would be very nice if poll.sh finished by passing the command-line option:
When an operation completes, the poll.sh script emits the entire operation. This is often quite verbose and one needs to scroll back in their window to see simply whether the operation completed successfully or not.
gcloud supports some very nice output formatting options (see "gcloud topic formats"), and so for example it would be very nice if poll.sh finished by passing the command-line option:
--format='yaml(done, error, metadata.events)'
instead of just
--format yaml
The user would see output like: