Skip to main content

ARGS_VALIDATOR

Constant ARGS_VALIDATOR 

Source
pub const ARGS_VALIDATOR: &str = "pop.command.args";
Expand description

Who refuses a run whose arguments do not match its command’s JSON Schema (CommandSpec::schema): the by of its command.refused. The check is not a listener: it runs before pop.command.run is asked, for every origin.