CLI command

probierz onboarding

Show the first-run journey and optionally adopt definitions from an existing Probierz repository without running them.

Invocation#

Shell
probierz onboarding [--reset] [--source <repository>] [--replace] [--json]

Required inputs and options#

  • `--source <repository>` selects an existing Git repository containing validated `apps/<appId>/probierz.yaml` manifests and established Probierz package spec directories.
  • `--replace` is accepted only with `--source` and explicitly permits replacement after conflicts have been reviewed.
  • `--reset` resets walkthrough progress; `--json` returns the journey and adoption result as structured data.

Output and state effects#

Validates the whole selection before mutation, persists accepted definitions and `apps/.adoptions.json`, reports imported, unchanged, removed, conflicting, and rejected counts, then renders onboarding. It never runs a journey.

Exact refusals#

  • Unknown or missing option values are refused with exit code 2.
  • Invalid manifests, missing referenced specs, symlinks, and unsupported filesystem entries are refused before any destination file changes.
  • Differing destination files return every conflict and write nothing unless explicit replacement is safe.

Source snapshot#

Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `f40fa7ed94a028b56b5a59342eaf55982ba5cf7d`.

Combined help SHA-256: `04bab0ac1e9691119efcb70627b534a73431f51bb44ed8ba81d93cc10afd6569`; binary SHA-256: `08424ee2465261eafaa112d13ef05a20ce1fe1b6479e896341e22fbc55e61d3e`.