Closed
Description
Currently, planet orders
group get
, download
, and cancel
CLI commands only accept a UUID for the ORDER_ID argument. Expand this to accept -
, which reads from stdin (and ensure that the stdin is a UUID).
Update CLI interface documentation accordingly.
Also document the following use case:
User Story: As a CLI user I would like to create an order, wait for it to be ready to download, then download the order.
$ planet orders create –like order_description.json \
| jq -r ‘.id’ | planet orders wait - \
| jq -r ‘.id’ | planet orders download -
<ANSI wait and download status reporting>