Skip to content

Commit fee808b

Browse files
authored
update ampx command options (#2568)
1 parent b7845a6 commit fee808b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/ampx.ts

+16-1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,16 @@ const completionSpec: Fig.Spec = {
163163
description: "Version of the configuration",
164164
args: { name: "version", suggestions: ["0", "1"] },
165165
},
166+
{
167+
name: "--branch",
168+
description: "Git branch name",
169+
args: { name: "branch_name" },
170+
},
171+
{
172+
name: "--app-id",
173+
description: "Amplify App ID",
174+
args: { name: "app_id" },
175+
},
166176
],
167177
},
168178
{
@@ -239,6 +249,11 @@ const completionSpec: Fig.Spec = {
239249
name: "--debug",
240250
description: "Print debug logs to the console",
241251
},
252+
{
253+
name: "--statement-max-depth",
254+
description: "Maximum depth of the generated GraphQL statements",
255+
args: { name: "integer" },
256+
},
242257
],
243258
},
244259
{
@@ -324,7 +339,7 @@ const completionSpec: Fig.Spec = {
324339
description: "Display help information",
325340
},
326341
{
327-
name: "--version",
342+
name: ["--version", "-v"],
328343
description: "Display version information",
329344
},
330345
{

0 commit comments

Comments
 (0)