Skip to content

jig 0.10.0

Choose a tag to compare

@mb1986 mb1986 released this 16 May 00:52
· 7 commits to main since this release
b812686

[0.10.0] — 2026-05-16

Added

  • --cat flag. Writes the loaded config file's body to stdout and
    a cat <path> header to stderr (bold on a terminal), so
    jig --cat | grep … sees only the file content. The header
    reports a shell-quoted, cwd-relative path. Works even when the
    file fails to parse, so a broken config can still be inspected.
    Mutually exclusive with --list, --dry-run, --explain, and
    --completions; tab completion for zsh, bash, and fish offers it.
  • --list output now starts with a config: header line naming the
    loaded config file, mirroring the config: line at the top of
    --explain output. The path is rendered relative to the current
    working directory when possible (with .. segments if the config
    sits in an ancestor), and falls back to the absolute path otherwise.

Changed

  • Shell completion scripts (zsh, bash, fish) now honor jig's
    mutual-exclusion graph. Once a flag is on the command line, the
    flags it conflicts with are dropped from jig -<TAB> candidates —
    typing jig --list <TAB> no longer offers --cat or --explain,
    jig --cat <TAB> drops --list, --dry-run, --explain, and
    --completions, and so on, with the relation applied symmetrically.
    When --list, --cat, or --completions is present, command and
    profile candidates are also suppressed (no command name is needed
    in those modes). --explain and --dry-run continue to offer
    command/profile candidates because they operate on a command.

Fixed

  • Shell completion scripts (zsh, bash, fish) now offer -x /
    --explain as candidates. The flag landed in 0.9.0 but was not
    added to the completion scripts at the time, so tab-completing
    jig -<TAB> never surfaced it.

Install: cargo install jig-run

Full changelog: https://github.com/mb1986/jig/blob/main/CHANGELOG.md