CLI command
probierz schedule list
Every schedule Probierz holds in Stado, optionally for one product.
Invocation#
probierz schedule list [--app <APP>]Required inputs and options#
--appkeeps only that product's schedules.
Output and state effects#
Prints {name, id, appId, schedule} for each schedule whose command carries Probierz's mark: the name every other verb takes, Stado's id, the product it covers (none for every product) and Stado's record. --app keeps those of one product. A list Stado cannot give is refused as unavailable (exit 69) with what it answered, never shown as empty.
Exact refusals#
- A name that is not one (lower-case letters, digits and dashes) is refused;
unknown(exit 1): a name Stado holds no schedule for is refused listing the names it holds. Real test: tests/schedule/stado.rs. stado-refused(exit 1): Stado refusing is refused with thestado schedulecommand and Stado's sentence, and the schedule is as Stado left it; aneditto a cron Stado cannot read leaves the standing cron. Real test: tests/schedule/stado.rs.- A schedule list Stado answers without JSON, not as a list, or with a Probierz schedule that has no id, is Stado's fault and is refused as unavailable (exit 69) with its answer, never read as no schedules.
Source snapshot#
Generated from the Rust binaries at revision 99a74945a3598a8d73b6c6cbe5aae4f283becea3 of Probierz's private source repository.
Combined help SHA-256: 77529678a61237f774b59e76df0d1907cb749ef5da56d2ed913b040793b7d30b; binary SHA-256: be9e0eaff0e6ea50403a0c6f6d467697a4eac676f9523b8dc13a596d2b5526c5.