fix(cli): fix wmill instance push --base-url and --instance

This commit is contained in:
Ruben Fiszel
2024-10-28 17:22:51 +01:00
parent 1e20438fa4
commit 82987105a6
+1 -6
View File
@@ -650,7 +650,6 @@ const command = new Command()
.option("--skip-configs", "Skip pulling configs (worker groups and SMTP)")
.option("--skip-groups", "Skip pulling instance groups")
.option("--include-workspaces", "Also pull workspaces")
.action(instancePull as any)
.command("push")
.description(
@@ -663,13 +662,9 @@ const command = new Command()
.option("--skip-groups", "Skip pushing instance groups")
.option("--include-workspaces", "Also push workspaces")
.option(
"--instance",
"--instance <instance:string>",
"Name of the instance to push to, override the active instance"
)
.option(
"--base-url",
"If used with --token, will be used as the base url for the instance"
)
.action(instancePush as any)
.command("whoami")
.description("Display information about the currently logged-in user")