Update README

This commit is contained in:
PCoder 2019-09-14 22:52:37 +05:30
parent a968918eee
commit 2b5262f530

View file

@ -44,4 +44,25 @@
--expiry-year 2022 \
--card-holder-name "The tester" \
--email "monty@python.com"
```
### Order a product
```
(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=http://127.0.0.1:5000 python ucloud.py product order \
--name xxxxxxxxxxxxxxxxx \
--realm xxxxxxxxxxxxxxxx \
--seed xxxxxxxxxxxxxxxx \
--email "monty@python.com" \
--product-id aabc34208e514803a0ee62d697b37e8c
```
### Listing different orders
```
(ucloud-cli) [test@ungleich ucloud-cli]$ UCLOUD_PAY_SERVER=127.0.0.1:5000 python ucloud.py order list \
--name xxxxxxxxxxxxxxx \
--realm xxxxxxxxxxxxxxx \
--seed xxxxxxxxxxxxxxxxx \
--email "monty@python.com"
```