@@ -22,7 +22,7 @@ $ npm install -g @gr4vy/cli
2222$ gr4vy COMMAND
2323running command...
2424$ gr4vy (--version)
25- @gr4vy/cli/0.1.4 darwin-arm64 node-v16.20 .0
25+ @gr4vy/cli/0.1.4 darwin-arm64 node-v22.15 .0
2626$ gr4vy --help [COMMAND]
2727USAGE
2828 $ gr4vy COMMAND
@@ -59,14 +59,11 @@ More details on each command is available below.
5959# Commands
6060<!-- commands -->
6161* [ ` gr4vy autocomplete [SHELL] ` ] ( #gr4vy-autocomplete-shell )
62- * [ ` gr4vy embed 1299 USD buyer_external_identifier=user-123 ` ] ( #gr4vy-embed-1299-usd-buyer_external_identifieruser-123 )
63- * [ ` gr4vy help [COMMANDS] ` ] ( #gr4vy-help-commands )
64- * [ ` gr4vy init acme sandbox private_key.pem ` ] ( #gr4vy-init-acme-sandbox-private_keypem )
65- * [ ` gr4vy token expiresIn=10d --scope=buyers.read --scope=buyers.write ` ] ( #gr4vy-token-expiresin10d---scopebuyersread---scopebuyerswrite )
62+ * [ ` gr4vy help [COMMAND] ` ] ( #gr4vy-help-command )
6663
6764## ` gr4vy autocomplete [SHELL] `
6865
69- display autocomplete installation instructions
66+ Display autocomplete installation instructions.
7067
7168```
7269USAGE
7976 -r, --refresh-cache Refresh cache (ignores displaying instructions)
8077
8178DESCRIPTION
82- display autocomplete installation instructions
79+ Display autocomplete installation instructions.
8380
8481EXAMPLES
8582 $ gr4vy autocomplete
@@ -93,52 +90,18 @@ EXAMPLES
9390 $ gr4vy autocomplete --refresh-cache
9491```
9592
96- _ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v2.3.0 /src/commands/autocomplete/index.ts ) _
93+ _ See code: [ @oclif/plugin-autocomplete ] ( https://github.com/oclif/plugin-autocomplete/blob/v3.2.31 /src/commands/autocomplete/index.ts ) _
9794
98- ## ` gr4vy embed 1299 USD buyer_external_identifier=user-123 `
99-
100- Generate a token for use with Gr4vy Embed.
101-
102- ```
103- USAGE
104- $ gr4vy embed 1299 USD buyer_external_identifier=user-123
105-
106- ARGUMENTS
107- AMOUNT The amount to generate a token for. This amount needs to be in the smallest denomination for the currency,
108- e.g. 1299 for $12.99
109- CURRENCY The 3 digit currency code to generate a token for.
110-
111- FLAGS
112- --debug Returns the raw header and claim for the token
113-
114- DESCRIPTION
115- Generate a token for use with Gr4vy Embed.
116-
117- This token can be used with Embed as it is
118- restricted to frontend scopes only.
119-
120- It accepts any number of key=value pairs as additional data to be
121- pinned in the token.
122-
123-
124- FLAG DESCRIPTIONS
125- --debug Returns the raw header and claim for the token
126-
127- Returns the decoded header and claim from the JWT token without the signature
128- ```
129-
130- _ See code: [ dist/commands/embed.ts] ( https://github.com/gr4vy/gr4vy-cli/blob/v0.1.4/dist/commands/embed.ts ) _
131-
132- ## ` gr4vy help [COMMANDS] `
95+ ## ` gr4vy help [COMMAND] `
13396
13497Display help for gr4vy.
13598
13699```
137100USAGE
138- $ gr4vy help [COMMANDS ] [-n]
101+ $ gr4vy help [COMMAND... ] [-n]
139102
140103ARGUMENTS
141- COMMANDS Command to show help for.
104+ COMMAND... Command to show help for.
142105
143106FLAGS
144107 -n, --nested-commands Include all nested commands in the output.
@@ -147,77 +110,5 @@ DESCRIPTION
147110 Display help for gr4vy.
148111```
149112
150- _ See code: [ @oclif/plugin-help ] ( https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts ) _
151-
152- ## ` gr4vy init acme sandbox private_key.pem `
153-
154- Generate sample .gr4vyrc.json file
155-
156- ```
157- USAGE
158- $ gr4vy init acme sandbox private_key.pem
159-
160- ARGUMENTS
161- GR4VYID The ID of your instance.
162- ENVIRONMENT (production|sandbox) The environment of your instance.
163- PRIVATEKEY The filename of the private key to add to the config.
164-
165- DESCRIPTION
166- Generate sample .gr4vyrc.json file
167-
168- Generates a config file that can be used to generate the token.
169- ```
170-
171- _ See code: [ dist/commands/init.ts] ( https://github.com/gr4vy/gr4vy-cli/blob/v0.1.4/dist/commands/init.ts ) _
172-
173- ## ` gr4vy token expiresIn=10d --scope=buyers.read --scope=buyers.write `
174-
175- Generate a bearer token for server-to-server API calls.
176-
177- ```
178- USAGE
179- $ gr4vy token expiresIn=10d --scope=buyers.read --scope=buyers.write
180-
181- FLAGS
182- -e, --expiresIn=<value>
183- [default: 1h] The expiry of the token
184-
185- -s, --scope=<option>...
186- [default: *.read,*.write] A scope to add to this flag
187- <options: all.read|all.write|*.read|*.write|anti-fraud-service-definitions.read|anti-fraud-service-definitions.write
188- |anti-fraud-services.read|anti-fraud-services.write|buyers.read|buyers.write|buyers.billing-details.read|buyers.bill
189- ing-details.write|connections.read|connections.write|digital-wallets.read|digital-wallets.write|flows.read|flows.wri
190- te|payment-methods.read|payment-methods.write|payment-options.read|payment-options.write|payment-service-definitions
191- .read|payment-service-definitions.write|payment-services.read|payment-services.write|reports.read|reports.write|role
192- s.read|roles.write|transactions.read|transactions.write|audit-logs.read|audit-logs.write|checkout-sessions.read|chec
193- kout-sessions.write|card-scheme-definitions.read|card-scheme-definitions.write|payment-method-definitions.read|payme
194- nt-method-definitions.write|reset.read|reset.write|merchant-accounts.read|merchant-accounts.write>
195-
196- --debug
197- Returns the raw header and claim for the token
198-
199- DESCRIPTION
200- Generate a bearer token for server-to-server API calls.
201-
202- This token should be used with care as it is not
203- restricted to any specific frontend scopes only.
204-
205-
206- FLAG DESCRIPTIONS
207- -e, --expiresIn=<value> The expiry of the token
208-
209- The expiration expressed in seconds or a string describing a time span vercel/ms.
210-
211- -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...
212-
213- A scope to add to this flag
214-
215- A single scope to add to this JWT
216-
217- --debug Returns the raw header and claim for the token
218-
219- Returns the decoded header and claim from the JWT token without the signature
220- ```
221-
222- _ See code: [ dist/commands/token.ts] ( https://github.com/gr4vy/gr4vy-cli/blob/v0.1.4/dist/commands/token.ts ) _
113+ _ See code: [ @oclif/plugin-help ] ( https://github.com/oclif/plugin-help/blob/v6.2.29/src/commands/help.ts ) _
223114<!-- commandsstop -->
0 commit comments