Projects
Create projects, link folders, and list all your projects.
Projects
Create a new project
storemyapi initRuns an interactive prompt asking for a project name and description. After you confirm:
- The project is created in the cloud
- A
.storemyapi.jsonfile 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.
Link a folder to an existing project
storemyapi linkOpens 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_abc123If the folder is already linked to a project, the CLI will ask you to confirm before switching.
List all projects
storemyapi projectsLists every project you own or have been invited to, including:
- Your role (
ownerorshared) - 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.