Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit 6816f0a

Browse files
committed
Update CLI help usage
1 parent 6c413f4 commit 6816f0a

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

README.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ Usage: revolut_cli.py [OPTIONS]
3030
Get the account balances on Revolut
3131

3232
Options:
33-
-t, --token TEXT your Revolut token (or set the env var REVOLUT_TOKEN)
34-
-l, --language TEXT language ("fr" or "en"), for the csv header and
35-
separator
36-
-a, --account TEXT account name (ex : "EUR CURRENT") to get the balance
37-
for the account
38-
--version Show the version and exit.
39-
--help Show this message and exit.
33+
-d, --device-id TEXT your Revolut token (or set the env var
34+
REVOLUT_DEVICE_ID)
35+
36+
-t, --token TEXT your Revolut token (or set the env var REVOLUT_TOKEN)
37+
-l, --language TEXT language ("fr" or "en"), for the csv header and
38+
separator
39+
40+
-a, --account TEXT account name (ex : "EUR CURRENT") to get the balance
41+
for the account
42+
43+
--version Show the version and exit.
44+
--help Show this message and exit
4045
```
4146

4247
Example output :
@@ -64,14 +69,23 @@ Usage: revolut_transactions.py [OPTIONS]
6469
Get the account balances on Revolut
6570

6671
Options:
67-
-t, --token TEXT your Revolut token (or set the env var
68-
REVOLUT_TOKEN)
69-
-l, --language TEXT language ("fr" or "en"), for the csv header and
70-
separator
71-
-t, --from_date [%Y-%m-%d] transactions lookback date in YYYY-MM-DD format
72-
(ex: "2019-10-26"). Default 30 days back
73-
-r, --reverse reverse the order of the transactions displayed
74-
--help Show this message and exit.
72+
-d, --device-id TEXT your Revolut token (or set the env var
73+
REVOLUT_DEVICE_ID)
74+
75+
-t, --token TEXT your Revolut token (or set the env var
76+
REVOLUT_TOKEN)
77+
78+
-l, --language [en|fr] language for the csv header and separator
79+
-t, --from_date [%Y-%m-%d] transactions lookback date in YYYY-MM-DD
80+
format (ex: "2019-10-26"). Default 30 days
81+
back
82+
83+
-fmt, --output_format [csv|json]
84+
output format
85+
-r, --reverse reverse the order of the transactions
86+
displayed
87+
88+
--help Show this message and exit.
7589
```
7690

7791
Example output :

0 commit comments

Comments
 (0)