Command reference
This page documents 51 commands, read off simplon’s command-line application as it is actually assembled - so it lists what can be typed, not what was intended.
Some commands are environment-agnostic and take no environment token; others are environment-first and take one between the product and the group (simplon <env> <group> <command>). Each command below says which it is, and its usage line shows the token where it belongs.
| Command | Environment | Summary |
|---|---|---|
simplon build wheel |
agnostic | Build the wheel. |
simplon build handoff-canary |
agnostic | Write the hand-off canary: one line naming HEAD and the workflow run, at its artifact’s path. |
simplon build reference |
agnostic | Write the product’s command reference as Markdown, read off its BUILT command line. |
simplon build acceptance |
agnostic | Write the product’s acceptance document as Markdown, read off its own .feature files. |
simplon build site |
agnostic | Build the product’s documentation website with Hugo, in Docker (HTML only). |
simplon build image |
agnostic | Build the product’s container image from its declared Dockerfile, with VERSION/REVISION, for every declared platform. |
simplon build docs |
agnostic | Write the command reference, then build the website from it. |
simplon build homebrew-formula |
agnostic | Render a Homebrew formula for the wheel, with its install closure as resources, into the artifact’s path. |
simplon build model |
agnostic | Generate the catalogue (kinds, groups, tasks), the artifact schema, one class per catalogue task, the kinds page and the architecture data and page from simplon’s firn model. |
simplon test suite |
agnostic | Run the pytest suite. |
simplon test typecheck-python |
agnostic | Type-check the product’s Python sources with mypy, in the host venv (no Docker, no lab). |
simplon test release-notes |
agnostic | Check the product’s releases page against the tags and merges its repository carries. |
simplon test report |
agnostic | Merge the unit results into the shared Allure results and render the HTML archive. |
simplon test generated |
agnostic | Fail if regenerating a generated file changes it, or leaves a file git does not track. |
simplon test walk |
agnostic | Walk the product’s acceptance scenarios with a person answering each step. |
simplon test image |
agnostic | Run the product’s container image and check that it answers. |
simplon test homebrew-formula |
agnostic | Audit the Homebrew formula in the pinned brew image, check its sha256s, and record the verdict. |
simplon test handoff-canary |
agnostic | Check that the hand-off canary holds the line its writer writes for this commit and run. |
simplon test all |
agnostic | Run every test: the pytest suite, the type gate, the staleness gate, the manifest’s own model, then the release-notes guard. |
simplon test model |
agnostic | Validate this product’s firn model; firn’s exit code passes through, named. |
simplon test manifest-model |
agnostic | Validate this product’s manifest, exported fresh as a firn model, against the M2 simplon ships. |
simplon release check |
agnostic | Refuse a dispatch release before anything is cut: the vX.Y.Z spelling, started from the default branch, origin fetched and carrying HEAD, no other version tag at HEAD, the tag free or at this commit on origin. |
simplon release notes |
agnostic | Write the release notes for a tag from the merges and tickets since the previous one. |
simplon release tag |
agnostic | Cut the release tag at HEAD and push it (git push origin <tag>, never --tags). |
simplon release push-image |
agnostic | Push the product’s container image and verify the tag, and every declared platform, is in the registry. |
simplon release push-pin |
agnostic | Force-push the kernel-image pin branch of a release (pin/kernel-image- |
simplon release homebrew-tap |
agnostic | Commit the tested Homebrew formula to the tap repository as Formula/ |
simplon release all |
agnostic | The release: the release check, the tests, the type gate, the staleness gate and the notes guard, then the notes, then the tag. Typed in a checkout it pushes the tag, and nothing publishes it - simplon releases from the button (release.yml). After PyPI, the publish job renders and audits the Homebrew formula and the homebrew-tap job commits it: the tap follows PyPI, so the formula never names a URL that is not live. |
simplon support install |
agnostic | Provision the host tooling the kernel needs - today oras; idempotent. |
simplon support claude-plugins |
agnostic | Install the Claude Code plugins of the claude toolchain: simplon’s default plus the manifest’s claude: additions; idempotent. |
simplon support claude-md |
agnostic | Write CLAUDE.md (simplon’s central working agreements, then the product’s own region) and .claude/settings.json’s enabledPlugins for the claude toolchain; –check reports drift and writes nothing. |
simplon support toolchain |
agnostic | Write a ready-made toolchain configuration for a language into this product’s manifest. |
simplon support completion |
agnostic | Regenerate the product’s shell completion from its manifest (–check reports drift and writes nothing). |
simplon support doctor |
agnostic | Check the tools and the environment. |
simplon support workflows |
agnostic | Regenerate the product’s GitHub workflows from its manifest (–check reports drift and writes nothing). |
simplon support ci-privileges |
agnostic | Give a user passwordless sudo and the docker group on THIS host (needs root; idempotent). |
simplon support ci-disk-hygiene |
agnostic | Cap docker logs, bound the build cache and install a daily prune on THIS host (needs root). |
simplon support ci-arm64 |
agnostic | Check that THIS host can build linux/arm64, and register the emulator if not (VM or LXC; needs root). |
simplon support ci-disk-preflight |
agnostic | Refuse to start a job on a runner whose docker disk is too full to finish one. |
simplon support ci-disk-cleanup |
agnostic | Prune build cache older than a day - the step a job runs when it is done, whatever it decided. |
simplon support ci-docker-preflight |
agnostic | Refuse to start a job when docker cannot run a container from where the kernel uses it. |
simplon support git commit |
agnostic | git add -A + git commit -m. |
simplon support git push |
agnostic | git pull –rebase then push (current branch). |
simplon support git prune-branches |
agnostic | Delete local branches already merged into main (squash-aware via gh). |
simplon support git clean |
agnostic | Remove every untracked file, ignored ones included (preview unless –force; nested repositories are kept). |
simplon support git submodules |
agnostic | git submodule update –init lib/platform (init the submodule a fresh worktree needs). |
simplon support git auth-scopes |
agnostic | Grant the stored gh token the package scopes GHCR needs (interactive, idempotent). |
simplon support tasks catalogue |
agnostic | List the task coordinates the delivery kernel offers, marking the namespaces this product’s commands reach. |
simplon support tasks generate |
agnostic | Regenerate the product’s CLI module from its manifest (–check reports drift and writes nothing). |
simplon support manifest migrate |
agnostic | Rewrite this product’s manifest into the current form (si#344): groups: into ci: / cd: / support:, images: into artifacts:, and with: name into produces: / consumes:. |
simplon support manifest model |
agnostic | Write this product’s validated manifest as a firn model (si#346). |
build
Produce the artefacts.
Environment-agnostic: these commands take no environment token - simplon build <command>.
simplon build wheel
simplon build wheelAlso spelled simplon wheel.
Build the wheel.
simplon build handoff-canary
simplon build handoff-canaryWrite the hand-off canary: one line naming HEAD and the workflow run, at its artifact’s path.
simplon build reference
simplon build referenceAlso spelled simplon reference.
Write the product’s command reference as Markdown, read off its BUILT command line.
simplon build acceptance
simplon build acceptance [--source SOURCE]Also spelled simplon acceptance.
Write the product’s acceptance document as Markdown, read off its own .feature files.
| Parameter | Type | Default | Description |
|---|---|---|---|
--source |
text | "" |
the directory holding the .feature files (default: tests/acceptance) |
simplon build site
simplon build siteAlso spelled simplon site.
Build the product’s documentation website with Hugo, in Docker (HTML only).
simplon build image
simplon build image [--tag TAG] [--platform PLATFORM]Build the product’s container image from its declared Dockerfile, with VERSION/REVISION, for every declared platform.
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | "" |
the tag to build under, for a version only known after a build |
--platform |
text | "" |
one of the image’s declared platforms: to build; default every declared one |
simplon build docs
simplon build docsAlso spelled simplon docs.
Write the command reference, then build the website from it.
simplon build homebrew-formula
simplon build homebrew-formula [--source SOURCE]Render a Homebrew formula for the wheel, with its install closure as resources, into the artifact’s path.
| Parameter | Type | Default | Description |
|---|---|---|---|
--source |
text | "" |
where the wheel’s url and sha256 come from: pypi on a real run, local on a dry run |
simplon build model
simplon build model [--binary BINARY]Generate the catalogue (kinds, groups, tasks), the artifact schema, one class per catalogue task, the kinds page and the architecture data and page from simplon’s firn model.
| Parameter | Type | Default | Description |
|---|---|---|---|
--binary |
text | "" |
the product’s own firn, relative to cwd (build/firn/firn after build:model-binary) |
test
Verify them.
Environment-agnostic: these commands take no environment token - simplon test <command>.
simplon test suite
simplon test suiteAlso spelled simplon suite.
Run the pytest suite.
simplon test typecheck-python
simplon test typecheck-python [--config CONFIG] [--workdir WORKDIR] [--python PYTHON]Also spelled simplon typecheck-python.
Type-check the product’s Python sources with mypy, in the host venv (no Docker, no lab).
| Parameter | Type | Default | Description |
|---|---|---|---|
--config |
text | mypy.ini |
path to the mypy configuration, relative to workdir (default mypy.ini) |
--workdir |
text | "" |
directory mypy runs in, relative to the product root (default: the root) |
--python |
text | "" |
interpreter to run mypy with, relative to workdir (default: the host venv the CLI runs in) |
simplon test release-notes
simplon test release-notesAlso spelled simplon release-notes.
Check the product’s releases page against the tags and merges its repository carries.
simplon test report
simplon test reportAlso spelled simplon report.
Merge the unit results into the shared Allure results and render the HTML archive.
simplon test generated
simplon test generatedAlso spelled simplon generated.
Fail if regenerating a generated file changes it, or leaves a file git does not track.
simplon test walk
simplon test walk [--source SOURCE] [--tags TAGS] [--by BY] [--restart]Also spelled simplon walk.
Walk the product’s acceptance scenarios with a person answering each step.
| Parameter | Type | Default | Description |
|---|---|---|---|
--source |
text | tests/acceptance |
directory holding the .feature files, relative to the product root (default tests/acceptance) |
--tags |
text | "" |
walk only the scenarios carrying one of these tags (comma- or space-separated; default all) |
--by |
text | "" |
who is walking it, for the record (default: the checkout’s own git identity) |
--restart |
flag | False |
discard an interrupted walk’s recorded answers and ask every step again |
simplon test image
simplon test image [--tag TAG] [--mount MOUNT] [--rc RC] [--user] [--platform PLATFORM] [--timeout TIMEOUT] [--env ENV]Run the product’s container image and check that it answers.
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | "" |
the tag to run, when it is not the one the build derives |
--mount |
text | "" |
‘ |
--rc |
integer | 0 |
the exit code to expect (default 0); rc: 2 means exactly 2, and 0 is then red |
--user |
flag | True |
run as the invoking uid:gid (default true), so bind-mounted output is owned |
--platform |
text | "" |
one of the image’s declared platforms: to run; default every declared one |
--timeout |
integer | 300 |
seconds each run may take (default 300); a run past it is red and its container removed |
--env |
text | none | the container’s environment, a mapping of names to values; a name with no value (NAME: ~) is forwarded from the caller |
simplon test homebrew-formula
simplon test homebrew-formula [--online ONLINE]Audit the Homebrew formula in the pinned brew image, check its sha256s, and record the verdict.
| Parameter | Type | Default | Description |
|---|---|---|---|
--online |
text | "" |
true on a real run, after the PyPI upload (audit –online –new, sha256 against PyPI); false on a dry run |
simplon test handoff-canary
simplon test handoff-canaryCheck that the hand-off canary holds the line its writer writes for this commit and run.
simplon test all
simplon test allRun every test: the pytest suite, the type gate, the staleness gate, the manifest’s own model, then the release-notes guard.
simplon test model
simplon test model [--binary BINARY]Validate this product’s firn model; firn’s exit code passes through, named.
| Parameter | Type | Default | Description |
|---|---|---|---|
--binary |
text | "" |
the product’s own firn, relative to cwd (build/firn/firn after build:model-binary) |
simplon test manifest-model
simplon test manifest-model [--network NETWORK]Also spelled simplon manifest-model.
Validate this product’s manifest, exported fresh as a firn model, against the M2 simplon ships.
| Parameter | Type | Default | Description |
|---|---|---|---|
--network |
text | none |
the docker network firn runs on (default ’none’) |
release
Publish them.
Environment-agnostic: these commands take no environment token - simplon release <command>.
simplon release check
simplon release check TAGAlso spelled simplon check.
Refuse a dispatch release before anything is cut: the vX.Y.Z spelling, started from the default branch, origin fetched and carrying HEAD, no other version tag at HEAD, the tag free or at this commit on origin.
| Parameter | Type | Default | Description |
|---|---|---|---|
TAG |
text | required | the version exactly as its tag will be (e.g. v1.4.0) |
simplon release notes
simplon release notes [--tag TAG]Also spelled simplon notes.
Write the release notes for a tag from the merges and tickets since the previous one.
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | "" |
the tag being released, exactly as it will exist (e.g. v1.4.0) |
simplon release tag
simplon release tag TAGAlso spelled simplon tag.
Cut the release tag at HEAD and push it (git push origin <tag>, never --tags).
| Parameter | Type | Default | Description |
|---|---|---|---|
TAG |
text | required | the tag to cut, exactly as it will exist (e.g. v1.4.0) |
simplon release push-image
simplon release push-image [--tag TAG]Also spelled simplon push-image.
Push the product’s container image and verify the tag, and every declared platform, is in the registry.
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | "" |
the tag to publish under, for a version only known after a build |
simplon release push-pin
simplon release push-pin [--tag TAG]Also spelled simplon push-pin.
Force-push the kernel-image pin branch of a release (pin/kernel-image-
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | "" |
the release whose pin branch is pushed (e.g. v1.4.0) |
simplon release homebrew-tap
simplon release homebrew-tap [--branch BRANCH]Also spelled simplon homebrew-tap.
Commit the tested Homebrew formula to the tap repository as Formula/
| Parameter | Type | Default | Description |
|---|---|---|---|
--branch |
text | main |
the tap’s branch to commit to (default main) |
simplon release all
simplon release all --tag TAGThe release: the release check, the tests, the type gate, the staleness gate and the notes guard, then the notes, then the tag. Typed in a checkout it pushes the tag, and nothing publishes it - simplon releases from the button (release.yml). After PyPI, the publish job renders and audits the Homebrew formula and the homebrew-tap job commits it: the tap follows PyPI, so the formula never names a URL that is not live.
| Parameter | Type | Default | Description |
|---|---|---|---|
--tag |
text | required | the version exactly as its tag will be (e.g. v1.4.0) |
support
Host preflight, environment introspection and host tooling.
Environment-agnostic: these commands take no environment token - simplon support <command>.
simplon support install
simplon support installAlso spelled simplon install.
Provision the host tooling the kernel needs - today oras; idempotent.
simplon support claude-plugins
simplon support claude-plugins [--dry-run]Also spelled simplon claude-plugins.
Install the Claude Code plugins of the claude toolchain: simplon’s default plus the manifest’s claude: additions; idempotent.
| Parameter | Type | Default | Description |
|---|---|---|---|
--dry-run, -n |
flag | False |
List what is missing, and where each plugin comes from, and install nothing. |
simplon support claude-md
simplon support claude-md [--check]Also spelled simplon claude-md.
Write CLAUDE.md (simplon’s central working agreements, then the product’s own region) and .claude/settings.json’s enabledPlugins for the claude toolchain; –check reports drift and writes nothing.
| Parameter | Type | Default | Description |
|---|---|---|---|
--check |
flag | False |
report drift and write nothing |
simplon support toolchain
simplon support toolchain LANGUAGE [VERSION]Also spelled simplon toolchain.
Write a ready-made toolchain configuration for a language into this product’s manifest.
| Parameter | Type | Default | Description |
|---|---|---|---|
LANGUAGE |
text | required | java | cpp | dotnet | python | firn | firn-binary | claude | gh | brew |
VERSION |
text | "" |
the toolchain version the image is pinned to (e.g. 25, 19, 9.0, 3.12); claude, gh and brew take none |
simplon support completion
simplon support completion [--check]Also spelled simplon completion.
Regenerate the product’s shell completion from its manifest (–check reports drift and writes nothing).
| Parameter | Type | Default | Description |
|---|---|---|---|
--check |
flag | False |
report drift and write nothing |
simplon support doctor
simplon support doctorAlso spelled simplon doctor.
Check the tools and the environment.
simplon support workflows
simplon support workflows [--check]Also spelled simplon workflows.
Regenerate the product’s GitHub workflows from its manifest (–check reports drift and writes nothing).
| Parameter | Type | Default | Description |
|---|---|---|---|
--check |
flag | False |
report drift and write nothing |
simplon support ci-privileges
simplon support ci-privileges USERAlso spelled simplon ci-privileges.
Give a user passwordless sudo and the docker group on THIS host (needs root; idempotent).
| Parameter | Type | Default | Description |
|---|---|---|---|
USER |
text | required |
simplon support ci-disk-hygiene
simplon support ci-disk-hygiene [--dry-run]Also spelled simplon ci-disk-hygiene.
Cap docker logs, bound the build cache and install a daily prune on THIS host (needs root).
| Parameter | Type | Default | Description |
|---|---|---|---|
--dry-run, -n |
flag | False |
Show what would change on this host and write nothing. |
simplon support ci-arm64
simplon support ci-arm64 [--dry-run]Also spelled simplon ci-arm64.
Check that THIS host can build linux/arm64, and register the emulator if not (VM or LXC; needs root).
| Parameter | Type | Default | Description |
|---|---|---|---|
--dry-run, -n |
flag | False |
Show which recipe this host takes and what would run, and change nothing. |
simplon support ci-disk-preflight
simplon support ci-disk-preflightAlso spelled simplon ci-disk-preflight.
Refuse to start a job on a runner whose docker disk is too full to finish one.
simplon support ci-disk-cleanup
simplon support ci-disk-cleanupAlso spelled simplon ci-disk-cleanup.
Prune build cache older than a day - the step a job runs when it is done, whatever it decided.
simplon support ci-docker-preflight
simplon support ci-docker-preflightAlso spelled simplon ci-docker-preflight.
Refuse to start a job when docker cannot run a container from where the kernel uses it.
support git
Version-control helpers.
Environment-agnostic: these commands take no environment token - simplon support git <command>.
simplon support git commit
simplon support git commit [MESSAGE...]Also spelled simplon commit.
git add -A + git commit -m.
| Parameter | Type | Default | Description |
|---|---|---|---|
MESSAGE... |
text | none | commit message |
simplon support git push
simplon support git pushAlso spelled simplon push.
git pull –rebase then push (current branch).
simplon support git prune-branches
simplon support git prune-branches [--dry-run] [--remote] [--unmerged]Also spelled simplon prune-branches.
Delete local branches already merged into main (squash-aware via gh).
| Parameter | Type | Default | Description |
|---|---|---|---|
--dry-run, -n |
flag | False |
preview only |
--remote |
flag | False |
also delete merged branches on origin |
--unmerged |
flag | False |
ALSO delete branches that cannot be proven merged (destructive) |
simplon support git clean
simplon support git clean [--force]Also spelled simplon clean.
Remove every untracked file, ignored ones included (preview unless –force; nested repositories are kept).
| Parameter | Type | Default | Description |
|---|---|---|---|
--force |
flag | False |
remove what the preview lists (without it nothing is removed) |
simplon support git submodules
simplon support git submodulesAlso spelled simplon submodules.
git submodule update –init lib/platform (init the submodule a fresh worktree needs).
simplon support git auth-scopes
simplon support git auth-scopesAlso spelled simplon auth-scopes.
Grant the stored gh token the package scopes GHCR needs (interactive, idempotent).
support tasks
The task machinery itself: regenerate the CLI module, list the tasks.
Environment-agnostic: these commands take no environment token - simplon support tasks <command>.
simplon support tasks catalogue
simplon support tasks catalogueAlso spelled simplon catalogue.
List the task coordinates the delivery kernel offers, marking the namespaces this product’s commands reach.
simplon support tasks generate
simplon support tasks generate TARGET [--check]Also spelled simplon generate.
Regenerate the product’s CLI module from its manifest (–check reports drift and writes nothing).
| Parameter | Type | Default | Description |
|---|---|---|---|
TARGET |
text | required | |
--check |
flag | False |
report drift and write nothing |
support manifest
Tools over this product’s manifest.
Environment-agnostic: these commands take no environment token - simplon support manifest <command>.
simplon support manifest migrate
simplon support manifest migrate [MANIFEST]Also spelled simplon migrate.
Rewrite this product’s manifest into the current form (si#344): groups: into ci: / cd: / support:, images: into artifacts:, and with: name into produces: / consumes:.
| Parameter | Type | Default | Description |
|---|---|---|---|
MANIFEST |
text | "" |
the manifest to rewrite (default: this product’s own) |
simplon support manifest model
simplon support manifest model [OUTPUT]Write this product’s validated manifest as a firn model (si#346).
| Parameter | Type | Default | Description |
|---|---|---|---|
OUTPUT |
text | "" |
the .firn file to write (default: |
Platform tasks this product has not placed
These are coordinates the delivery kernel’s catalogue offers that no command of this product instantiates, so they are in no group above and cannot be typed here. The list is what the PLATFORM offers, which is a wider set than what this product places.
Adopting one is not always just a command declaration. Some of them read product data of their own - a manifest section, a configuration file, a running environment - and placed without it they would fail on their first line; others need nothing but the declaration. The kernel’s catalogue says, at each coordinate, which of the two it is.
| Task | What it does |
|---|---|
build:cmake-files |
Write this product’s CMakeLists.txt files from its source tree. |
build:conan-cache |
Fetch a published Conan cache archive so a build can restore it. |
build:dotnet-solution |
Write this product’s .sln and .csproj files from its source tree. |
build:fetch |
Download a declared file and check its sha256, unless the file is already there with that checksum. |
build:image-file |
Copy one file out of an image, for the platform its file entry names. |
build:maven-pack |
Stage the declared Gradle modules into the artifact’s path as a Maven file repository. |
build:model-binary |
Build this product’s own firn (its Java functions included) in firn-builder, and run it once. |
build:nuget-config |
Write the product’s nuget.config naming the GitHub feed (no credential in it). |
build:nuget-pack |
Pack the declared project into the artifact’s path, as the version the tag names. |
build:nuget-restore |
Restore the declared project inside the SDK image, with the credential the feed needs. |
deploy:carrier |
Make the carrier this environment stands on: the machine, then the Portainer on it. |
deploy:down |
Remove a deployment - a client’s installed version, or a server’s environment. |
deploy:up |
Deploy a version - a published one, latest, or local for the current code base. |
docs:render |
Render the project docs via docToolchain (generateHTML + generatePDF) in Docker. |
release:artifact |
Publish a declared directory to a registry as an OCI artifact. |
release:asset |
Attach declared files to a GitHub release, creating it if it is not there yet. |
release:conan |
Publish a Conan cache archive to a registry as an OCI artifact (a transport, not a remote). |
release:github-attach |
Attach the tested files and their .sha256 sidecars to the tag’s draft GitHub Release; every other asset on the draft is deleted. |
release:github-draft |
Create the tag’s draft GitHub Release with the release notes as its body, or reuse the draft an earlier run left. |
release:github-publish |
Publish the tag’s draft GitHub Release, once origin carries the tag. |
release:github-unpublished |
Answer whether a tag’s GitHub Release is still unpublished (a draft or none); red when it is published or GitHub does not answer. |
release:maven |
Upload what build:maven-pack staged to GitHub’s Maven registry and read the coordinates back. |
release:nuget |
Push the package build:nuget-pack wrote for this version to GitHub’s NuGet feed. |
support:docker-preflight |
Check that docker answers on this host’s active context, and say what an editor needs to find it. |
support:environments |
List the named environments and the backend each targets, marking the active one. |
support:nexus |
Drive the LAN Sonatype Nexus artefact proxy: up | down | status | repos | cleanup. |
test:accept |
Run the lab-based suites in sequence against the running lab. |
test:file |
Run a bare file in a pinned libc-free container, for the platform its file entry names. |
test:gate |
Run a declared pytest suite against the running lab. |
test:model-format |
Check that this product’s firn model is formatted as firn fmt would write it. |
toolchain:run |
Run a pinned toolchain image over the product tree, as the calling user. |