Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
867 changes: 810 additions & 57 deletions defining-commands.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ rejected with a warning.
**The manifest key decides how a command is invoked.** It has to: the CLI routes
`ns hello world` to your module before that module has been loaded, so the key
is the only name it can know. A `name` inside the definition is metadata — it is
what `registerCommandDefinition` uses when a module registers itself, and it is
what `registerCommand` uses when a module registers itself, and it is
useful documentation, but a manifest entry overrides it. If the two disagree the
CLI warns, naming both, and runs the command under the manifest key.

Expand Down
Loading
Loading