apso init
Create a new Apso project from a language-specific template, or clone an existing project from the platform.
Usage
apso init
apso init --name my-app --language typescript
apso init --name my-app --language python --skip-platformOptions
| Option | Description | Default |
|---|---|---|
-n, --name | Project name | (prompted) |
-l, --language | Target language (typescript, python, go) | (prompted) |
--skip-platform | Skip platform linking (offline mode) | false |
Behavior
When authenticated, apso init presents two choices:
- Create a new project — clones a language-specific template, creates a service on the platform, and links them
- Clone an existing project — pulls an existing service from the platform (from GitHub if connected, or from the default template)
When not authenticated (or with --skip-platform), it clones the template locally without creating a platform service.
After cloning, the CLI runs the appropriate dependency installation:
- TypeScript:
npm install - Python: prompts to run
pip install -e .[dev] - Go: prompts to run
go mod tidy
Examples
Create a TypeScript project without logging in:
apso init --name my-api --language typescript --skip-platformCreate a project and link it to the platform:
apso login
apso init --name my-apiNotes
- Project names must start with a letter and contain only letters, numbers, hyphens, and underscores
apso initwill not run in a directory that already has an.apsorcfile or.apso/link.json- Replaces the deprecated
apso server newcommand
Last updated on