Skip to content

Commit

Permalink
fix: Consider app transfer as a valid command (#49)
Browse files Browse the repository at this point in the history
App ownership transfer from CLI always shows help, rather than doing
action. It seems command is never marked as valid.
  • Loading branch information
valentin-consulting authored Dec 19, 2024
1 parent 4cee15f commit 73e2067
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/script/command-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ yargs
.command("list", "Lists the apps associated with your account", (yargs: yargs.Argv) => appList("list", yargs))
.command("ls", "Lists the apps associated with your account", (yargs: yargs.Argv) => appList("ls", yargs))
.command("transfer", "Transfer the ownership of an app to another account", (yargs: yargs.Argv) => {
isValidCommand = true;
yargs
.usage(USAGE_PREFIX + " app transfer <appName> <email>")
.demand(/*count*/ 2, /*max*/ 2) // Require exactly two non-option arguments
Expand Down

0 comments on commit 73e2067

Please sign in to comment.