Back to Moon

extension add

website/docs/commands/extension/add.mdx

2.2.41.1 KB
Original Source

import VersionLabel from '@site/src/components/Docs/VersionLabel';

<VersionLabel version="2.0.0" header />

The moon extension add <id> [plugin] command will add a extension to the workspace by injecting a configuration block into .moon/extensions.*. To do this, the command will download the WASM plugin, extract information, and call initialize functions.

For built-in extensions, the plugin locator argument is optional, and will be derived from the identifier.

shell
$ moon extension add download

For third-party extensions, the plugin locator argument is required, and must point to the WASM plugin.

shell
$ moon extension add custom https://example.com/path/to/plugin.wasm

Arguments

  • <id> - ID of the extension to use.
  • [plugin] - Optional plugin locator for third-party extensions.

Options

  • --minimal - Generate minimal configurations and sane defaults.
  • --yes - Skip all prompts and enables tools based on file detection.