Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 73e2067

Browse files
fix: Consider app transfer as a valid command (#49)
App ownership transfer from CLI always shows help, rather than doing action. It seems command is never marked as valid.
1 parent 4cee15f commit 73e2067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/script/command-parser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ yargs
322322
.command("list", "Lists the apps associated with your account", (yargs: yargs.Argv) => appList("list", yargs))
323323
.command("ls", "Lists the apps associated with your account", (yargs: yargs.Argv) => appList("ls", yargs))
324324
.command("transfer", "Transfer the ownership of an app to another account", (yargs: yargs.Argv) => {
325+
isValidCommand = true;
325326
yargs
326327
.usage(USAGE_PREFIX + " app transfer <appName> <email>")
327328
.demand(/*count*/ 2, /*max*/ 2) // Require exactly two non-option arguments

0 commit comments

Comments
 (0)