Signatures
How to use the `signature` command in the Scale CLI.
The signature
command is used to interact with Scale Signatures locally. sig
is an alias for signature
.
New
To create a new Scale Signature, run the following command:
This will create a new scale signature in the current directory in the Go programming language.
You can also specify the language of the signature you want to create by using the --language
flag:
The following languages are currently supported:
go
- Gorust
- Rustts
- TypeScript/JavaScript
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 signature from a signature file
This will generate the signature defined in the local directory, in your local/
organization.
Use
Create a new scale signature with the given name and tag.
List
The list
subcommand is used to list all the compiled Scale Signatures available in the local Scale Signatures cache.
If you'd like to specify the directory of the Scale Signature cache, you can use the --cache-directory
flag:
Export
Export a generated scale signature to the given output path
Delete
To delete a Scale Signature from the local Scale Signature cache, run the following command:
Last updated on