mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 21:50:44 +00:00
set require flag on subcommands
This commit is contained in:
parent
e3ec0f2453
commit
70460cab08
6 changed files with 8 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ fn build_cli_args() -> Command {
|
|||
.value_parser(value_parser!(Shell))
|
||||
.exclusive(true),
|
||||
)
|
||||
.subcommand_required(true)
|
||||
.subcommand(cmd_version::command())
|
||||
.subcommand(cmd_path::command())
|
||||
.subcommand(cmd_run::command())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue