pub async fn resolve(
t: &Transport,
selectors: &[String],
tag: Option<&str>,
search: Option<&str>,
local: &[Rule],
noun: &str,
) -> Result<Option<Vec<String>>>Expand description
Resolve selectors, an optional tag, and an optional search to rule_id
values. Returns None when none is given and the caller should act on every
rule.
Check local before the stack. Pass an empty slice for rules export and
state pull. Pass disk rules for local commands so scoped push can select
locally added rules that the stack does not have.
noun completes command-specific refusal messages, such as “nothing to
export”.