Skip to content

Reference

Command-line reference

<!-- Generated by `isoloom docs --cli` from the command line's definition: don't edit. -->

Describe an environment once (machines, networks, ports), and get each tool's own files to run it: Compose, Kubernetes, Vagrant, Terraform, Ansible.

Global options:

ArgumentDescription
--profile <NAME>Use a profile: profiles/<name>.yml in the project, what differs for one customer or site (target, spec values, defaults). Also ISOLOOM_PROFILE.

isoloom validate

Check the spec for mistakes (and that every path it mentions exists).

Usage: isoloom validate [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--skip-filesDon't check that files mentioned by the spec exist.
--jsonMachine-readable output.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom targets

List the targets the spec can be generated for, why the others can't, and the tier of each one generated (how far it has been proven).

Usage: isoloom targets [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--jsonJSON instead of text.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom resources

Add up the machines, CPUs, memory and disk the spec needs.

Usage: isoloom resources [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--jsonJSON instead of text.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom generate

Write each target's files under .isoloom/ (all possible targets, or one with --target).

Usage: isoloom generate [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--target <TARGET>Only this target (any that isoloom targets lists); a profile's pinned target when it has one.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom check

Fail when the generated files under .isoloom/ don't match the spec (for CI).

Usage: isoloom check [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--target <TARGET>Only this target (any that isoloom targets lists); a profile's pinned target when it has one.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.
-q, --quietOnly the files that fail, so a CI log shows what to fix.
--jsonMachine-readable output: one result per file, then a summary.

isoloom defaults

The defaults in effect here (built in, your file, the project's, the environment) and where each comes from. See https://www.isoloom.com/en/docs/configuration#defaults.

Usage: isoloom defaults [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--systemOnly the built-in layer.
--jsonMachine-readable output.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom graph

Draw the environment: networks, machines with their addresses and ports, reach rules, gateways and the access machine. D2 by default; --format dot for Graphviz. With -o x.svg or -o x.png the diagram is rendered when d2 (or dot) is installed.

Usage: isoloom graph [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--format <FORMAT>d2 (default) or dot. Default: d2.
-o, --out <OUT>Write here instead of stdout; .svg and .png are rendered.
--instance <N>Draw instance N (its blocks and name).
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom report

Print a table about the environment: addressing, ports, wiring or resources (text, or --md for Markdown). isoloom report list names them.

Usage: isoloom report [OPTIONS] <NAME> [DIR]

Arguments:

ArgumentDescription
<NAME>The report.
[DIR]The project folder (holding isoloom.yml). Default: ..
--mdMarkdown instead of aligned text.
--instance <N>Report on instance N.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom message

Print the spec's message (how to use the environment), its placeholders filled.

Usage: isoloom message [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--instance <N>The message of instance N.
--target <TARGET>The target it runs on, for the addresses machines have there (default: the spec's single target, else the spec's addresses).
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom inspect

Show the resolved snapshot (what .isoloom/resolved.json holds): every address, routes, targets and checks, worked out from the spec. A dotted path narrows it: isoloom inspect machines.web.addresses, isoloom inspect targets.

Usage: isoloom inspect [OPTIONS] [WHAT] [DIR]

Arguments:

ArgumentDescription
[WHAT]A dotted path into the snapshot (default: all of it). A folder here means the project.
[DIR]The project folder (holding isoloom.yml).
--yamlYAML instead of JSON.
--instance <N>The snapshot of instance N (1-99) of the spec: its own names, Docker blocks and published ports, as a runner makes them for several copies on one host.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom profiles

List the project's profiles (profiles/<name>.yml) and check each against the spec: the names it uses, the spec it makes, and that its target can run it. Fails when one doesn't.

Usage: isoloom profiles [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The project folder (holding isoloom.yml). Default: ..
--jsonJSON instead of text.
--images <FILE>Your own image table (YAML): OS images, and the access machine when the spec leaves it to the runner. See https://www.isoloom.com/en/docs/configuration#the-image-table.
-s, --set <KEY=VALUE>Override a value for this command: -s machines.web.os=ubuntu@24.04 on the spec, -s defaults.cloud.aws.region=eu-west-1 on the defaults. Repeatable.

isoloom schema

Print the JSON Schema of isoloom.yml (for editors: completion, hover docs, errors).

Usage: isoloom schema [OPTIONS]

isoloom import

Draft an isoloom.yml from files you already have.

Usage: isoloom import [OPTIONS] <COMMAND>

isoloom import terraform

From Terraform: the .tf files of a folder, read statically (variables, locals, for_each and count evaluated); VMs and subnets become the draft, the rest is listed.

Usage: isoloom import terraform [OPTIONS] [DIR]

Arguments:

ArgumentDescription
[DIR]The folder with the .tf files (default: the current folder).
--out <OUT>Where to write isoloom.yml (default: next to the source).
--forceReplace an existing isoloom.yml.
--stdoutPrint the draft instead of writing it.

isoloom import vagrant

From a Vagrantfile: Ruby runs it against a stand-in Vagrant module, so no VM is made, but the rest of its code runs on this computer as it would under Vagrant: import only a Vagrantfile you trust. The settings it makes become the draft; the rest is listed, with why.

Usage: isoloom import vagrant [OPTIONS] [FILE]

Arguments:

ArgumentDescription
[FILE]The Vagrantfile (default: ./Vagrantfile).
--out <OUT>Where to write isoloom.yml (default: next to the source).
--forceReplace an existing isoloom.yml.
--stdoutPrint the draft instead of writing it.

isoloom import compose

From a Compose file: what it says that the format can express goes into the draft; the rest is listed, with why.

Usage: isoloom import compose [OPTIONS] [FILE]

Arguments:

ArgumentDescription
[FILE]The Compose file (default: compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml in the current folder).
--out <OUT>Where to write isoloom.yml (default: next to the source).
--forceReplace an existing isoloom.yml.
--stdoutPrint the draft instead of writing it.

isoloom import help

Print this message or the help of the given subcommand(s).

Usage: isoloom import help [COMMAND]

isoloom import help terraform

From Terraform: the .tf files of a folder, read statically (variables, locals, for_each and count evaluated); VMs and subnets become the draft, the rest is listed.

Usage: isoloom import help terraform

isoloom import help vagrant

From a Vagrantfile: Ruby runs it against a stand-in Vagrant module, so no VM is made, but the rest of its code runs on this computer as it would under Vagrant: import only a Vagrantfile you trust. The settings it makes become the draft; the rest is listed, with why.

Usage: isoloom import help vagrant

isoloom import help compose

From a Compose file: what it says that the format can express goes into the draft; the rest is listed, with why.

Usage: isoloom import help compose

isoloom import help help

Print this message or the help of the given subcommand(s).

Usage: isoloom import help help

isoloom docs

Print a reference page generated from the code: --spec for docs/spec.md, --matrix for docs/matrix.md, --cli for docs/reference/cli.md.

Usage: isoloom docs [OPTIONS] <--spec|--matrix|--cli>

Arguments:

ArgumentDescription
--specThe spec reference (docs/spec.md): every field, its type, default, allowed values and limits.
--matrixThe capability matrix (docs/matrix.md): what each target does with each spec field, and each target's tier with its evidence.
--cliThe command-line reference (docs/reference/cli.md): every command and its arguments.

isoloom matrix

Show what each target does with each spec field (✓ generated, ✗ refused, with the step that refuses and why, – not applicable), worked out from the generators themselves, and each target's tier with its evidence. --json for tools.

Usage: isoloom matrix [OPTIONS]

Arguments:

ArgumentDescription
--jsonThe matrix as JSON: the columns with their tiers, every tier entry with its evidence, and each row's cell per column (its state, and for a refusal the step and reason).

isoloom help

Print this message or the help of the given subcommand(s).

Usage: isoloom help [COMMAND]

isoloom help validate

Check the spec for mistakes (and that every path it mentions exists).

Usage: isoloom help validate

isoloom help targets

List the targets the spec can be generated for, why the others can't, and the tier of each one generated (how far it has been proven).

Usage: isoloom help targets

isoloom help resources

Add up the machines, CPUs, memory and disk the spec needs.

Usage: isoloom help resources

isoloom help generate

Write each target's files under .isoloom/ (all possible targets, or one with --target).

Usage: isoloom help generate

isoloom help check

Fail when the generated files under .isoloom/ don't match the spec (for CI).

Usage: isoloom help check

isoloom help defaults

The defaults in effect here (built in, your file, the project's, the environment) and where each comes from. See https://www.isoloom.com/en/docs/configuration#defaults.

Usage: isoloom help defaults

isoloom help graph

Draw the environment: networks, machines with their addresses and ports, reach rules, gateways and the access machine. D2 by default; --format dot for Graphviz. With -o x.svg or -o x.png the diagram is rendered when d2 (or dot) is installed.

Usage: isoloom help graph

isoloom help report

Print a table about the environment: addressing, ports, wiring or resources (text, or --md for Markdown). isoloom report list names them.

Usage: isoloom help report

isoloom help message

Print the spec's message (how to use the environment), its placeholders filled.

Usage: isoloom help message

isoloom help inspect

Show the resolved snapshot (what .isoloom/resolved.json holds): every address, routes, targets and checks, worked out from the spec. A dotted path narrows it: isoloom inspect machines.web.addresses, isoloom inspect targets.

Usage: isoloom help inspect

isoloom help profiles

List the project's profiles (profiles/<name>.yml) and check each against the spec: the names it uses, the spec it makes, and that its target can run it. Fails when one doesn't.

Usage: isoloom help profiles

isoloom help schema

Print the JSON Schema of isoloom.yml (for editors: completion, hover docs, errors).

Usage: isoloom help schema

isoloom help import

Draft an isoloom.yml from files you already have.

Usage: isoloom help import [COMMAND]

isoloom help import terraform

From Terraform: the .tf files of a folder, read statically (variables, locals, for_each and count evaluated); VMs and subnets become the draft, the rest is listed.

Usage: isoloom help import terraform

isoloom help import vagrant

From a Vagrantfile: Ruby runs it against a stand-in Vagrant module, so no VM is made, but the rest of its code runs on this computer as it would under Vagrant: import only a Vagrantfile you trust. The settings it makes become the draft; the rest is listed, with why.

Usage: isoloom help import vagrant

isoloom help import compose

From a Compose file: what it says that the format can express goes into the draft; the rest is listed, with why.

Usage: isoloom help import compose

isoloom help docs

Print a reference page generated from the code: --spec for docs/spec.md, --matrix for docs/matrix.md, --cli for docs/reference/cli.md.

Usage: isoloom help docs

isoloom help matrix

Show what each target does with each spec field (✓ generated, ✗ refused, with the step that refuses and why, – not applicable), worked out from the generators themselves, and each target's tier with its evidence. --json for tools.

Usage: isoloom help matrix

isoloom help help

Print this message or the help of the given subcommand(s).

Usage: isoloom help help