storemyapi
CLI Reference

Projects

Create projects, link folders, and list all your projects.

Projects

Create a new project

storemyapi init

Runs an interactive prompt asking for a project name and description. After you confirm:

  1. The project is created in the cloud
  2. A .storemyapi.json file is written to the current directory, linking it to that project

Add .storemyapi.json to your .gitignore. It holds your project ID and is machine-specific.

storemyapi link

Opens an interactive dropdown listing all your projects. Select one and a .storemyapi.json file is written to the current directory.

Direct link by name or ID (skips the dropdown):

storemyapi link my-project-name
storemyapi link proj_abc123

If the folder is already linked to a project, the CLI will ask you to confirm before switching.

List all projects

storemyapi projects

Lists every project you own or have been invited to, including:

  • Your role (owner or shared)
  • Number of keys
  • Project owner's email (for shared projects)

The .storemyapi.json file

This file is what tells every command which project to use. It is created by init and link, and it lives in your working directory.

{
  "projectId": "proj_abc123"
}

It contains no secrets, just the project ID. Still, it's best to keep it out of version control since different team members may want to link the same codebase to different projects.

On this page