CLI command
probierz onboarding
Show the first-run journey and optionally adopt definitions from an existing Probierz repository without running them.
Invocation#
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 `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.
Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.