The extension command is used to interact with Scale Extensions locally. ext is an alias for extension.

New

To create a new Scale Extension, run the following command:
scale extension new
This will create a new scale extension in the current directory in the Go programming language. You can also specify the language of the extension you want to create by using the --language flag:
scale extension new --language <language>
The following languages are currently supported:
We are actively working on adding support for more languages. If you would like to see a specific language supported, please let us know by joining the #scale channel in our Discord.

Generate

Generate a scale extension from a extension file
scale extension generate <name:tag>
The --directory flag can be used to specify the directory where the extension file exists:
scale extension generate <name:tag> --directory <directory>
This will generate the extension defined in the local directory, in your local/ organization.
To learn about how to install the toolchain for a specific language, see the documentation for that language:

List

The list subcommand is used to list all the compiled Scale Extension available in the local Scale Extension cache.
scale extension list