The login command allows the CLI to connect to your Snipplle account. It uses an API key for authentication, granting access to your workspaces and snippets according to your permissions.
Without logging in, the CLI cannot pull snippets into your local projects.
Before logging in:
Use the following command in your terminal:
snipplle login <api-key>
After successful authentication, your credentials will be stored locally, allowing the CLI to access your workspaces and snippets.