Skip to main content

LOCAL

Constant LOCAL 

Source
pub const LOCAL: &[LocalCommand];
Expand description

Every command of the command line that is not the projection of a capability.

Checked in both directions by crate::quality::parity: a runnable command that is neither bound to a capability nor listed here is a finding, and an entry here that names no command, or names one that is bound, is a finding too.

use majordomus_cli::cli::local::LOCAL;
// every entry says something specific, not just which case it is
assert!(LOCAL.iter().all(|l| l.note.split_whitespace().count() >= 6));