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//! - Reusable domain engines in `proa_source_tools` and `proa_build`,
11//! exposed here through the existing module paths: [`fmt`], [`lint`], [`chunks`],
12//! [`config`], [`font`], [`lifecycle`], [`scaffold`], [`source`], [`ui`],
13//! and the linked RSJS build pipeline under [`rsjs`].
14//! - `output`: diagnostic presentation (terminal, JSON, GitHub annotations).
15//! - `util`: small helpers shared across the command layer.
16
17pub mod capabilities;
18mod cli;
19mod commands;
20pub mod config;
21pub mod font;
22mod hot_static;
23pub mod lifecycle;
24mod output;
25pub mod rsjs;
26pub mod scaffold;
27pub mod site_scaffold;
28pub mod ui;
29mod util;
30
31pub use proa_source_tools::{chunks, diagnostic, fmt, lint, source};
32
33pub use cli::run;
34pub use cli::Cli;