Command line
Every command and flag, straight from --help.
A bare canibump runs check. Each command reads canibump.toml from where you run it, and -m points it at another one.
canibump
Can I bump yet? Checks the upstream blockers in canibump.toml.
Exit codes: 0 when nothing counted showed up, else 8 plus 1 for bumpable, 2 for dead, 4 for failed, 16 for an unlisted link or marker and 32 for an unmarked blocker, summed (bumpable and dead is 11). 1 is an unusable manifest or cache, 2 a bad argument. `--fail-on` picks what counts. `status <id>` answers for one blocker instead: 0 bumpable, 1 waiting, 2 anything else.
Usage: canibump [OPTIONS] [COMMAND]
Commands:
check Check every blocker, reusing results younger than the TTL
status Print the last results from the state file, without network
schema Print a JSON Schema and exit: canibump.toml's, the `--json` report's or the state file's
completions Print a shell completion script and exit
help Print this message or the help of the given subcommand(s)
Options:
-m, --manifest <MANIFEST>
The manifest to read
[default: canibump.toml]
--cache <CACHE>
The state file [default: `$XDG_CACHE_HOME/canibump/state/<manifest path>.json`]
--json
Print JSON instead of lines
--fail-on <STATUS>
What fails the run, comma-separated or repeated. Defaults to `[settings] fail-on`, else bumpable, dead, failed, unlisted and unmarked
Possible values:
- bumpable: Something landed: adds 1 to the exit code
- dead: An upstream fix will not land as declared: adds 2
- failed: A check broke: adds 4
- unlisted: `[scan]` found a link or marker no blocker names: adds 16
- unmarked: `[scan]` found no `canibump:<id>` for a blocker: adds 32
--sites-on <STATUS>
Which lines print the sites of their workaround, comma-separated or repeated. Defaults to `[settings] sites-on`, else bumpable and dead for a check and every status for `status`
Possible values:
- waiting: Upstream has not landed it yet
- bumpable: Landed: the workaround can go
- dead: Will not land as declared (closed unmerged, wontfix, duplicate)
- failed: The check itself failed (network, auth, rate limit)
--color <COLOR>
When to color the status words; `auto` honors the terminal and `NO_COLOR`
[default: auto]
[possible values: auto, always, never]
--refresh
Re-check every blocker, even fresh ones
-h, --help
Print help (see a summary with '-h')
-V, --version
Print versioncanibump check
Check every blocker, reusing results younger than the TTL
Usage: canibump check [OPTIONS]
Options:
-m, --manifest <MANIFEST>
The manifest to read
[default: canibump.toml]
--refresh
Re-check every blocker, even fresh ones
--cache <CACHE>
The state file [default: `$XDG_CACHE_HOME/canibump/state/<manifest path>.json`]
--json
Print JSON instead of lines
--fail-on <STATUS>
What fails the run, comma-separated or repeated. Defaults to `[settings] fail-on`, else bumpable, dead, failed, unlisted and unmarked
Possible values:
- bumpable: Something landed: adds 1 to the exit code
- dead: An upstream fix will not land as declared: adds 2
- failed: A check broke: adds 4
- unlisted: `[scan]` found a link or marker no blocker names: adds 16
- unmarked: `[scan]` found no `canibump:<id>` for a blocker: adds 32
--sites-on <STATUS>
Which lines print the sites of their workaround, comma-separated or repeated. Defaults to `[settings] sites-on`, else bumpable and dead for a check and every status for `status`
Possible values:
- waiting: Upstream has not landed it yet
- bumpable: Landed: the workaround can go
- dead: Will not land as declared (closed unmerged, wontfix, duplicate)
- failed: The check itself failed (network, auth, rate limit)
--color <COLOR>
When to color the status words; `auto` honors the terminal and `NO_COLOR`
[default: auto]
[possible values: auto, always, never]
-h, --help
Print help (see a summary with '-h')canibump status
Print the last results from the state file, without network.
With a blocker id, answers for that one alone by exit code: 0 bumpable, 1 waiting, 2 anything else, errors included.
Usage: canibump status [OPTIONS] [ID]
Arguments:
[ID]
The blocker to answer for
Options:
-m, --manifest <MANIFEST>
The manifest to read
[default: canibump.toml]
--path
Print the state file's path and exit
--cache <CACHE>
The state file [default: `$XDG_CACHE_HOME/canibump/state/<manifest path>.json`]
--json
Print JSON instead of lines
--fail-on <STATUS>
What fails the run, comma-separated or repeated. Defaults to `[settings] fail-on`, else bumpable, dead, failed, unlisted and unmarked
Possible values:
- bumpable: Something landed: adds 1 to the exit code
- dead: An upstream fix will not land as declared: adds 2
- failed: A check broke: adds 4
- unlisted: `[scan]` found a link or marker no blocker names: adds 16
- unmarked: `[scan]` found no `canibump:<id>` for a blocker: adds 32
--sites-on <STATUS>
Which lines print the sites of their workaround, comma-separated or repeated. Defaults to `[settings] sites-on`, else bumpable and dead for a check and every status for `status`
Possible values:
- waiting: Upstream has not landed it yet
- bumpable: Landed: the workaround can go
- dead: Will not land as declared (closed unmerged, wontfix, duplicate)
- failed: The check itself failed (network, auth, rate limit)
--color <COLOR>
When to color the status words; `auto` honors the terminal and `NO_COLOR`
[default: auto]
[possible values: auto, always, never]
-h, --help
Print help (see a summary with '-h')canibump schema
Print a JSON Schema and exit: canibump.toml's, the `--json` report's or the state file's
Usage: canibump schema [OPTIONS] [OF]
Arguments:
[OF]
What it describes
Possible values:
- manifest: `canibump.toml`
- report: The `--json` report
- state: The state file
[default: manifest]
Options:
-m, --manifest <MANIFEST>
The manifest to read
[default: canibump.toml]
--cache <CACHE>
The state file [default: `$XDG_CACHE_HOME/canibump/state/<manifest path>.json`]
--json
Print JSON instead of lines
--fail-on <STATUS>
What fails the run, comma-separated or repeated. Defaults to `[settings] fail-on`, else bumpable, dead, failed, unlisted and unmarked
Possible values:
- bumpable: Something landed: adds 1 to the exit code
- dead: An upstream fix will not land as declared: adds 2
- failed: A check broke: adds 4
- unlisted: `[scan]` found a link or marker no blocker names: adds 16
- unmarked: `[scan]` found no `canibump:<id>` for a blocker: adds 32
--sites-on <STATUS>
Which lines print the sites of their workaround, comma-separated or repeated. Defaults to `[settings] sites-on`, else bumpable and dead for a check and every status for `status`
Possible values:
- waiting: Upstream has not landed it yet
- bumpable: Landed: the workaround can go
- dead: Will not land as declared (closed unmerged, wontfix, duplicate)
- failed: The check itself failed (network, auth, rate limit)
--color <COLOR>
When to color the status words; `auto` honors the terminal and `NO_COLOR`
[default: auto]
[possible values: auto, always, never]
-h, --help
Print help (see a summary with '-h')canibump completions
Print a shell completion script and exit
Usage: canibump completions [OPTIONS] <SHELL>
Arguments:
<SHELL>
The shell to complete for
[possible values: bash, elvish, fish, powershell, zsh]
Options:
-m, --manifest <MANIFEST>
The manifest to read
[default: canibump.toml]
--cache <CACHE>
The state file [default: `$XDG_CACHE_HOME/canibump/state/<manifest path>.json`]
--json
Print JSON instead of lines
--fail-on <STATUS>
What fails the run, comma-separated or repeated. Defaults to `[settings] fail-on`, else bumpable, dead, failed, unlisted and unmarked
Possible values:
- bumpable: Something landed: adds 1 to the exit code
- dead: An upstream fix will not land as declared: adds 2
- failed: A check broke: adds 4
- unlisted: `[scan]` found a link or marker no blocker names: adds 16
- unmarked: `[scan]` found no `canibump:<id>` for a blocker: adds 32
--sites-on <STATUS>
Which lines print the sites of their workaround, comma-separated or repeated. Defaults to `[settings] sites-on`, else bumpable and dead for a check and every status for `status`
Possible values:
- waiting: Upstream has not landed it yet
- bumpable: Landed: the workaround can go
- dead: Will not land as declared (closed unmerged, wontfix, duplicate)
- failed: The check itself failed (network, auth, rate limit)
--color <COLOR>
When to color the status words; `auto` honors the terminal and `NO_COLOR`
[default: auto]
[possible values: auto, always, never]
-h, --help
Print help (see a summary with '-h')