//! Command infrastructure for AAML directives.
//!
//! Each directive (`@import`, `@derive`, `@schema`, `@type`) is implemented as
//! a struct that implements the [`Command`] trait and is registered in
//! [`AAML::register_default_commands`](AAML).
use crateAAML;
use crateAamlError;
/// Trait implemented by every AAML directive handler.
///
/// Commands are registered by name and invoked automatically when `@<name> <args>`
/// is encountered during parsing.