Closed
Description
Environment: planet, version 2.0a1
Test Steps
- Try the update help command for subscription
C:\planet_cli2\planet-client-python>planet subscriptions --help
Usage: planet subscriptions [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
cancel Cancels a subscription and prints the API response.
create Submits a subscription request and prints the API response.
describe Cancels a subscription and prints the API response.
list Prints a sequence of JSON-encoded Subscription descriptions.
results Gets results of a subscription and prints the API response.
update Cancels a subscription and prints the API response.
C:\planet_cli2\planet-client-python>planet subscriptions update --help
Usage: planet subscriptions update [OPTIONS] SUBSCRIPTION_ID REQUEST
Cancels a subscription and prints the API response.
Options:
--pretty Pretty-print output.
--help Show this message and exit.
C:\planet_cli2\planet-client-python>planet subscriptions describe --help
Usage: planet subscriptions describe [OPTIONS] SUBSCRIPTION_ID
Cancels a subscription and prints the API response.
This implementation is only a placeholder. To begin, instead of mocking
calls to the Subscriptions API, we'll use a collection of fake subscriptions
(the all_subs object). After we refactor we will change to mocking the API.
Options:
--pretty Pretty-print output.
--help Show this message and exit.
Expected: It should display as update is used for Update of Subscription
Actual: It is displaying as Cancels a subscription and prints the API response.