Skip to main content

proa_cli/
lib.rs

1// Copyright Proa Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Developer tooling for Proa templates.
5//!
6//! The crate is organized in four layers:
7//!
8//! - [`commands`]: one module per `proa` subcommand (clap argument types and
9//!   the subcommand entry points), dispatched from [`cli`].
10//! - Domain engines consumed by the commands: [`fmt`], [`lint`], [`chunks`],
11//!   [`config`], [`font`], [`lifecycle`], [`scaffold`], [`source`], [`ui`],
12//!   and the linked RSJS build pipeline under [`rsjs`].
13//! - [`output`]: diagnostic presentation (terminal, JSON, GitHub annotations).
14//! - [`util`]: small helpers shared across the command layer.
15
16pub mod capabilities;
17pub mod chunks;
18mod cli;
19mod commands;
20pub mod config;
21pub mod diagnostic;
22pub mod fmt;
23pub mod font;
24pub mod lifecycle;
25pub mod lint;
26mod output;
27pub mod rsjs;
28pub mod scaffold;
29pub mod site_scaffold;
30pub mod source;
31pub mod ui;
32mod util;
33
34pub use cli::run;
35pub use cli::Cli;