Open Studio
CLI

Init

Configure your local project for Snipplle CLI by creating a configuration file.

What Is Init?

The init command helps you set up your local project to work with the Snipplle CLI.

It launches a setup prompt with a few questions. Based on your answers, it generates a snipplle.config.json file, which is required for using the CLI commands pull and push.


How to Run Init

In your project folder, run:

snipplle init

The CLI will guide you through a setup process, asking questions such as:

  • Where snippets should be stored locally
  • Which workspace to connect to
  • Optional configuration settings

After completing the prompt, the CLI will generate a snipplle.config.json file in your project folder.


snipplle.config.json

The configuration file stores all necessary information for the CLI to:

  • Connect to your Snipplle workspace
  • Pull snippets into the project
  • Push changes back to Snipplle (future functionality)
Do not delete or modify this file manually unless you know what you’re doing.