@h-rig/cli
v0.0.6-alpha.22
Published
Rig package
Downloads
0
Readme
CLI Package
@rig/cli exposes the rig command.
Purpose
- route operator commands into the runtime control plane
- provide setup, server, task, review, queue, and profile entry points
Common command
bun run rig -- <subcommand>bun run rig report-bugbun run rig report-bug --no-prompt --browser --title "OTP submit fails" --url "https://dev.rig.hptestingsite.com/login?next=%2F" --environment shared-dev --asset ./path/to/screenshot.png --video ./path/to/recording.webmbun run rig report-bug --no-prompt --no-browser --title "OTP API fails" --url "https://dev.rig.hptestingsite.com/api/auth/email/otp/verify" --asset ./path/to/api-response.txtbun run rig browser --helpbun run rig browser explainbun run rig browser hp-next dev
Notes
- CLI behavior should stay thin and delegate business logic into
@rig/runtime. report-buguses@clack/promptsfor its interactive wizard and asks whether Rig Browser is required.report-bugcreates a runnable beadstaskby default, writes committable evidence underrepos/spliter-monorepo/artifacts/<task-id>/bug-report/, and upserts task-config wiring.report-bug --no-beadskeeps the old draft-only behavior underdocs/bug-reports/.report-bug --no-browserskipsbrowser.json, thebrowser-requiredlabel, browser validation, and browser helper commands while preserving task assets.report-bugaccepts drag-and-drop asset values through--assetand--video; copied files are stored underbug-report/assets/and indexed inmanifest.json.- Browser bug-report evidence must be tracked by git before validation/handoff; untracked assets fail
integration:browser-bug-report-task. - Key
report-bugflags:--browser,--no-browser,--summary,--steps,--expected,--actual,--evidence,--asset,--video,--screenshot,--priority,--labels,--parent,--assignee,--owner,--preset,--profile,--attach-url,--state-dir,--mode,--viewport,--output-dir,--slug, and--overwrite. rig browseris the operator-friendly command family for Rig Browser help, hp-next launch/check/e2e/reset, and package-level CDP/profile diagnostics.
