Skip to content

Releases: svyatov/oz

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 31 Jul 17:27
v0.2.2
3cb4340

Fixed

  • 0.2.1 exists as a git tag and on proxy.golang.org, and carries no GitHub
    release. Its release run wrote the notes file into the checkout, and GoReleaser
    refuses to build from a dirty working tree, so no binaries, bills of materials,
    or Homebrew update accompanied that version. The notes now land outside the
    checkout, and everything 0.2.1 was meant to ship arrives here

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 14:32
a15b781

Added

  • password option type: masked entry that is redacted (****) everywhere oz displays a
    command or answer (dry-run, confirmation prompt, values editor, oz run show), never written
    to persisted state (last-used, presets, pins), and re-prompted every run. A secret_env: NAME
    channel delivers the value through the child process environment instead of argv, keeping it
    off the process list on Linux (see README for the flag-exposure limitation and platform scope)
  • number option type: accepts integer/float input with optional inclusive min/max bounds;
    rejects non-numeric or out-of-range input, and omits its flag when left blank
  • oz test [wizard]: a hermetic snapshot harness that asserts a wizard's fixture answers
    build the expected command. Fixtures live in wizards/testdata/<wizard>/ as a <case>.yml
    (pinned version: + answers:) and a sibling <case>.golden; --update regenerates the
    goldens. Execution is hermetic: the pinned version drives option filtering (no detection)
    and dynamic-choice answers are taken as literal values (no shell runs), so fixtures pass on
    any machine. Runs in CI over wizards/ as a gate: a wizard that ships no fixture fails
  • Proving-pack registry wizards exercising the harness's hard cases: docker-run (multi-select),
    git-switch (dynamic-choice supplied as a literal), with rails-new and bundle-gem covering
    version gating, each with passing fixtures
  • bundle-gem registry wizard: wraps Bundler's bundle gem generator with version-aware
    options verified against real Bundler binaries from 2.2 to 4.x: --changelog (≥2.2.8),
    --github-username (≥2.2.16), --linter (≥2.2.31, supersedes the <2.2.31 --rubocop),
    --ext values c/rust (≥2.4)/go (≥4.0), and --bundle (≥2.7); --rubocop is hidden on
    4.x where it was removed. Includes a version picker via bundle _<version>_ gem

Fixed

  • oz list / oz list --remote: add column spacing so the wizard name, description,
    and (installed) tag no longer run together, and a trailing blank line to match
    every other command's output
  • Registry now served from the main repo (svyatov/oz wizards/ + index.yml)
    instead of a separate oz-wizards repo, so oz add, oz list --remote, and
    oz update work out of the box; override with OZ_REGISTRY_URL
  • rails-new wizard: expose --skip-asset-pipeline on Rails 8.x via a version-gated
    toggle (the asset-pipeline selector is < 8.0 only, so 8.x had no way to skip it)

Install

brew install svyatov/tap/oz
go install github.com/svyatov/oz/cmd/oz@v0.2.0

Full changelog: https://github.com/svyatov/oz/blob/main/CHANGELOG.md

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Apr 20:33
16931a8

Initial public release.

Features

  • Interactive TUI wizard engine powered by Bubbletea
  • YAML-based wizard configuration with select, confirm, input, and multi-select field types
  • Auto-generate wizard configs from any CLI tool's --help output (59 formats supported)
  • Wizard registry with add and update commands
  • Version detection with semver-based option filtering
  • Presets and pinned options for quick reuse
  • Conditional visibility (show_when / hide_when)
  • Dynamic choices via shell commands
  • Dry-run mode and command copy-to-clipboard
  • Shell completions (bash, zsh, fish, powershell)

Install

# Homebrew (macOS)
brew install svyatov/tap/oz

# Go
go install github.com/svyatov/oz/cmd/oz@latest

Or download binaries below.