Back to Moon

ext

website/docs/commands/ext.mdx

2.2.4990 B
Original Source

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

<VersionLabel version="1.20.0" header />

The moon ext <id> command will execute an extension (a WASM plugin) that has been configured in .moon/extensions.*. View our official extensions guide for more information.

shell
$ moon ext download -- --url https://github.com/moonrepo/moon/archive/refs/tags/v1.19.3.zip

Extensions typically support command line arguments, which must be passed after a -- separator (as seen above). Any arguments before the separator will be passed to the moon ext command itself.

:::caution

This command requires an internet connection if the extension's .wasm file must be downloaded from a URL, and it hasn't been cached locally.

:::

Arguments

  • <id> - Name of the extension to execute.
  • [-- <args>] - Arguments to pass to the extension.

Configuration

  • * in .moon/extensions.*