Skip to main content
pixwel is the developer command-line tool that lives in cli/. It’s a thin yargs wrapper around the commands you’d otherwise type by hand — docker-compose, the API test runners, the li3 console, and authenticated API calls — so that day-to-day local development is a handful of short verbs. It’s the same CLI that drives the Local Development setup; this page is the full command reference.

Install

The CLI is a workspace package, linked from your checkout:
Then point it at your platform checkout. pixwel path defaults to the current directory:
The path is stored in a configstore file named pxwl (under ~/.config/configstore/pxwl.json), so every other command works no matter which directory you run it from. If the path isn’t set, the CLI refuses to run anything but pixwel path.

Stack lifecycle

These wrap docker-compose against your checkout. They run from anywhere once the path is set.

Install & environment

Tests

Running & serving

Logs

API access

The CLI can authenticate against a deployed environment and make signed API calls.
1

Log in

pixwel login prompts for a host (development, staging, or production), email, and password. It exchanges them for a session token and saves the host, email, and token to the pxwl configstore.
2

Query the API

pixwel api <path> issues an authenticated GET /api/<path> and prints the JSON response. For example, pixwel api projects.
3

Get it as a table

pixwel find <path> does the same request but renders the result as an ASCII table instead of raw JSON.
pixwel token prints the saved authentication token — handy for pasting into other tools or curl.
Requests send an X-Range: resources=0-19 header, so api and find return the first page of results. Use the path’s own paging/query parameters to page through the rest.

Command summary


Back to docs index | Local Development >>