Video Tutorial 🎬
frontstack
command)npx
to run the CLI (recommended)Which option should I choose?
package.json
file), so the CLI can place the generated files correctly.
.frontstack-local/
directory.
This directory should be added to your .gitignore
file to prevent sensitive information from being committed to your repository.-p
, --project-id
: The id of the project to select.
.frontstack-local/
directory.Advanced Usage (environments)
--env
option to generate a client for a specific environmentOption | Description |
---|---|
-s , --persist-oas | Persist OpenAPI specification file after generation |
-e , --env | Pass an environment alias like “develop” or “preview” |
-o , --output | Output path for generated files(default: “.frontstack”) |
-v , --verbose | Enable verbose output and error messages |