Skip to content

Commit baf082a

Browse files
committed
chore: remove --public option in obj upload subcommand
1 parent dbe2a5c commit baf082a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/utils/commands.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Command } from "commander";
1+
import { Command, Option } from "commander";
22
import { VERSION } from "../version.js";
33
import { createDevbox } from "../commands/devbox/create.js";
44
import { listDevboxes } from "../commands/devbox/list.js";
@@ -655,7 +655,9 @@ export function createProgram(): Command {
655655
"--content-type <type>",
656656
"Content type: unspecified|text|binary|gzip|tar|tgz",
657657
)
658-
.option("--public", "Make object publicly accessible")
658+
.addOption(
659+
new Option("--public", "Make object publicly accessible").hideHelp(),
660+
)
659661
.option(
660662
"-o, --output [format]",
661663
"Output format: text|json|yaml (default: text)",

0 commit comments

Comments
 (0)