Trait brix_commands::Command
source · pub trait Command {
// Required methods
fn run(
&self,
pcp: ProcessedCommandParams,
app_context: &AppContext<'_>
) -> Result<(), BrixError>;
fn name(&self) -> String;
}
Expand description
The base command trait that all commands must implement.