Skip to content

Commit

Permalink
Update docs/design/dfx-extensions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Swanson <[email protected]>
  • Loading branch information
Marcin Nowak-Liebiediew and ericswanson-dfinity authored Nov 3, 2023
1 parent 573b695 commit 864f156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/design/dfx-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ The extension's binary is launched as a child process. The system waits for the


### Extensions as Commands
Extensions are converted to command-line commands via an `extension.json` manifest, which encodes metadata and command data. Once installed, extensions produce CLI commands with defined subcommands and arguments through this manifest. The manifest file contains metadata like the extension's name, version, authors, dependencies, and subcommands. Each extension can possess subcommands with specific arguments. By translating the manifest into command-line commands, dfx enables the user to interact with extension commands, including their subcommands and arguments, which in practice means that any command and subcommand will be displayed when `dfx EXT_NAME --help`, or `dfx EXT_NAME SUBCMD` is called, and it will display all available args, options and subcommands.
Extensions are converted to command-line commands via an `extension.json` manifest, which encodes metadata and command data. Once installed, extensions produce CLI commands with defined subcommands and arguments through this manifest. The manifest file contains metadata like the extension's name, version, authors, dependencies, and subcommands. Each extension can provide subcommands with specific arguments. By translating the manifest into command-line commands, dfx enables the user to interact with extension commands, including their subcommands and arguments, which in practice means that any command and subcommand will be displayed when `dfx EXT_NAME --help`, or `dfx EXT_NAME SUBCMD` is called, and it will display all available args, options and subcommands.

0 comments on commit 864f156

Please sign in to comment.