Projects
All micropage projects commands work from any directory unless they need an existing local project (see below).
list
List projects in your account.
micropage projects list
| Option | Description |
|---|---|
--json | Print JSON instead of a table |
show
Show details for one project, including latest build info.
micropage projects show
micropage projects show my-project-abc123
| Option | Description |
|---|---|
--json | Print JSON |
The optional argument is a project id or domain slug. If omitted, the CLI uses the current local project.
create
Create a new project on the server and initialize the current directory as a local project.
micropage projects create mysite
| Option | Description |
|---|---|
-d, --domain <domain> | Override the Cloudflare Pages project name / slug (default: server-generated name + 6 hex chars, max 58 characters) |
fetch
Download an existing project by id or domain and set up the local folder.
micropage projects fetch my-project-abc123
pull
Pull the latest published build’s raw content into the local landing.page file.
micropage projects pull
Requires a local project.
delete
Delete the project on the server and remove local .micropage/ configuration.
micropage projects delete
| Option | Description |
|---|---|
-y, --yes | Skip the confirmation prompt |
Requires a local project.
Local project
Commands such as show (without arguments), pull, and delete use the project linked in .micropage/ in the current working directory. Create or fetch a project first—see CLI setup.