Skip to content

Commit ba2315d

Browse files
committed
Improve menu doc comment
1 parent 13c5661 commit ba2315d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/cli-menu/src/menu.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ export interface MenuOptions {
4545

4646
/**
4747
* A Gud CLI plugin that:
48-
* 1. Prompts the user to choose a subcommand if the current command requires
49-
* it.
50-
* 2. After a subcommand is chosen, checks if it also needs a subcommand.
51-
* 3. If further subcommands are needed, displays a new prompt with an added '↩
52-
* back' option.
48+
* 1. Prompts the user to choose a command or subcommand if required and not
49+
* already provided.
50+
* 2. After a command is chosen, checks if it also needs a subcommand and
51+
* displays a new prompt with an added '↩ back' option if so.
5352
* 4. Continues this process until all necessary subcommands are selected.
5453
*
5554
* Note: The '↩ back' option allows users to return to the previous menu at any

0 commit comments

Comments
 (0)