Skip to main content

concinnity_dev/command/
mod.rs

1//! The implementations behind each `cn` subcommand: discovery and printing
2//! wrappers over this crate's authoring API and the concinnity-cook compile
3//! pipeline.
4//!
5//! This is where stdout lives. The authoring API returns values and errors; a
6//! command resolves which world was meant, calls it, and formats the result for
7//! a terminal. Keeping that split means the same authoring call is equally
8//! usable from the editor, the debug server, and an out-of-tree host.
9
10mod add;
11mod build;
12mod check;
13mod explain;
14mod list;
15mod new;
16mod rm;
17mod version;
18
19pub use add::add;
20pub use build::build;
21pub use check::check;
22pub use explain::explain;
23pub use list::list;
24pub use new::{init, new};
25pub use rm::rm;
26pub use version::{VERSION, version, version_details, version_line};
27
28pub(crate) use list::{provenance, resolve_world_path};