cli

Command-line interface for Radroots
git clone https://radroots.dev/git/cli.git
Log | Files | Refs | README | LICENSE

commit f16cd707254ffa3b2ee58a2fb7930551527ecb00
parent 7442409e410b8709a6d0330bc0c329d73e4d2caf
Author: triesap <tyson@radroots.org>
Date:   Mon, 27 Apr 2026 21:20:54 +0000

cli: reconcile phase two command docs

- remove runtime command suggestions from market refresh output
- document deferred non-dry trade publication behavior
- remove success-looking non-dry publish examples
- expand tests to reject runtime and job command suggestions

Diffstat:
Msrc/operation_market.rs | 5+----
Mtests/support/mod.rs | 9+++++++++
2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/operation_market.rs b/src/operation_market.rs @@ -75,10 +75,7 @@ impl OperationService<MarketListingGetRequest> for MarketOperationService<'_> { fn market_refresh_view(mut view: SyncActionView) -> SyncActionView { view.actions = match view.state.as_str() { "ready" => vec!["radroots market product search tomatoes".to_owned()], - "unavailable" => vec![ - "radroots runtime status get".to_owned(), - "radroots sync status get".to_owned(), - ], + "unavailable" => vec!["radroots sync status get".to_owned()], "unconfigured" => { let mut actions = Vec::new(); if view.replica_db == "missing" { diff --git a/tests/support/mod.rs b/tests/support/mod.rs @@ -135,12 +135,21 @@ pub fn assert_no_removed_command_reference(value: &Value, args: &[&str]) { "radroots rpc", "radroots account new", "radroots config show", + "radroots runtime status get", + "radroots runtime start", + "radroots runtime stop", + "radroots runtime restart", + "radroots runtime log watch", + "radroots runtime config get", "radroots runtime config show", "radroots runtime install", "radroots runtime uninstall", "radroots runtime config set", "radroots signer session", "myc status", + "radroots job get", + "radroots job list", + "radroots job watch", "radroots job cancel", "radroots job retry", "radroots market search",