snippet.run CLI commands - run
Use run
command to run a snippet. Running this command will fetch the snippet from the cloud, and execute it on your machine
Usage
snippet run <snippet> [arg...]
Arguments
Name | Description | Example |
---|---|---|
<snippet> | The snippet to run | snippet-run/helloworld |
[args...] | Optional arguments passed to the snippet | - |
Flags
Name | Description |
---|---|
-a --allow | Run the snippet without confirmation |
Omitting the snippet owner
You can omit the snippet owner to use your username if you logged in to the CLI
If you are logged in as snippet-run
, running snippet run helloworld
will run snippet-run/helloworld