CLI Command Reference
auth

snippet.run CLI commands - auth

Use auth command to manage your authentication status of your snippet.run account. You will need to login to run private snippets

Usage

snippet auth <SUB-COMMAND>

The login subcommand

Usage

snippet auth login

Login to your account

By running this, the terminal will prompt you to enter your access token

$ snippet auth login
? Please paste your access token here: › _

You can create and manage your access token from here (opens in a new tab)

Manage Access Tokens

The logout subcommand

Usage

snippet auth logout

Logout from your account

The status subcommand

Usage

snippet auth status

Show your authentication status