Skip to content

Commit 43455d1

Browse files
committed
fix: Fix expiresIn flag usage
1 parent 19d6e77 commit 43455d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ npm install -g @gr4vy/cli
2222
$ gr4vy COMMAND
2323
running command...
2424
$ gr4vy (--version)
25-
@gr4vy/cli/0.1.2 darwin-arm64 node-v16.20.0
25+
@gr4vy/cli/0.1.3 darwin-arm64 node-v16.20.0
2626
$ gr4vy --help [COMMAND]
2727
USAGE
2828
$ gr4vy COMMAND
@@ -127,7 +127,7 @@ FLAG DESCRIPTIONS
127127
Returns the decoded header and claim from the JWT token without the signature
128128
```
129129

130-
_See code: [dist/commands/embed.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.2/dist/commands/embed.ts)_
130+
_See code: [dist/commands/embed.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.3/dist/commands/embed.ts)_
131131

132132
## `gr4vy help [COMMANDS]`
133133

@@ -168,7 +168,7 @@ DESCRIPTION
168168
Generates a config file that can be used to generate the token.
169169
```
170170

171-
_See code: [dist/commands/init.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.2/dist/commands/init.ts)_
171+
_See code: [dist/commands/init.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.3/dist/commands/init.ts)_
172172

173173
## `gr4vy token expiresIn=10d --scope=buyers.read --scope=buyers.write`
174174

@@ -206,7 +206,7 @@ DESCRIPTION
206206
FLAG DESCRIPTIONS
207207
-e, --expiresIn=<value> The expiry of the token
208208
209-
The expiration of the token in shorthand notation, for example "1h" or 1d" for 1 hour and 1 day.
209+
The expiration expressed in seconds or a string describing a time span vercel/ms.
210210
211211
-s, --scope=all.read|all.write|*.read|*.write|anti-fraud-service-definitions.read|anti-fraud-service-definitions.write|anti-fraud-services.read|anti-fraud-services.write|buyers.read|buyers.write|buyers.billing-details.read|buyers.billing-details.write|connections.read|connections.write|digital-wallets.read|digital-wallets.write|flows.read|flows.write|payment-methods.read|payment-methods.write|payment-options.read|payment-options.write|payment-service-definitions.read|payment-service-definitions.write|payment-services.read|payment-services.write|reports.read|reports.write|roles.read|roles.write|transactions.read|transactions.write|audit-logs.read|audit-logs.write|checkout-sessions.read|checkout-sessions.write|card-scheme-definitions.read|card-scheme-definitions.write|payment-method-definitions.read|payment-method-definitions.write|reset.read|reset.write|merchant-accounts.read|merchant-accounts.write...
212212
@@ -219,5 +219,5 @@ FLAG DESCRIPTIONS
219219
Returns the decoded header and claim from the JWT token without the signature
220220
```
221221

222-
_See code: [dist/commands/token.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.2/dist/commands/token.ts)_
222+
_See code: [dist/commands/token.ts](https://github.com/gr4vy/gr4vy-cli/blob/v0.1.3/dist/commands/token.ts)_
223223
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gr4vy/cli",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "The Gr4vy CLI",
55
"author": "Gr4vy, Inc <[email protected]>",
66
"bin": {

0 commit comments

Comments
 (0)