Skip to content

Commit

Permalink
docs(command): update docs for executable sub commands
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Aug 3, 2021
1 parent a13c79f commit 0b2f3d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions command/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -840,10 +840,9 @@ remove dir recursively
> Work in progress
When `.executable()` is invoked on a sub-command, this tells cliffy you're going
to use a separate executable file for the sub-command. Cliffy will search the
executable in the directory of the entry script with the name
program-sub-command, like `pm-install`, `pm-search`. If no command was found
cliffy looks for a globally installed command.
to use a separate executable file for the sub-command. Cliffy will look for a
globally installed program with the name program-sub-command, like
`deno-install`, `deno-upgrade`.

You handle the options for an executable (sub)command in the executable, and
don't declare them at the top-level.
Expand Down

0 comments on commit 0b2f3d1

Please sign in to comment.