Skip to main content

sofie_cli/
lib.rs

1mod agents_md;
2mod api;
3mod bench;
4mod build_command;
5mod build_script;
6mod cargo;
7mod cargo_rustflags;
8mod check_command;
9mod child_process;
10mod clients;
11mod components;
12mod config_command;
13mod contract_gen;
14mod db_command;
15mod dev_command;
16mod dockerfile;
17#[cfg(feature = "docs")]
18mod docs;
19mod env_example;
20mod explain;
21mod feature_command;
22mod fix_command;
23mod flows;
24mod forms;
25mod fuzz;
26mod gen_command;
27mod http_client;
28mod inputs;
29mod islands;
30mod local_app;
31mod log_buffer;
32#[cfg(feature = "mcp")]
33mod mcp;
34mod module_roles;
35mod new_command;
36mod pgo;
37mod routes_command;
38mod rustfmt;
39mod scaffold_command;
40mod scaffold_tests;
41mod schedule_command;
42mod schema_command;
43mod seed_command;
44mod sorted;
45mod source_edits;
46mod split_command;
47mod targets;
48mod tasks_command;
49mod translations;
50mod upgrade;
51mod wiring;
52
53#[cfg(feature = "openapi")]
54pub use api::openapi::openapi;
55#[cfg(feature = "typescript")]
56pub use api::typescript::typescript;
57pub use bench::{BenchReport, Measurement, RouteResult, Verdict, bench};
58pub use build_command::{Binary, BuildOptions, Built, Image, build};
59pub use build_script::check_in_build_script;
60pub use check_command::check_app;
61pub use components::{component, component_list};
62pub use config_command::check_config;
63pub use db_command::fresh_database;
64pub use dev_command::dev;
65#[cfg(feature = "docs")]
66pub use docs::write_docs;
67pub use explain::explain;
68pub use feature_command::{FeatureChange, FeatureEdit, change_feature};
69pub use fix_command::{FixReport, fix_app};
70pub use fuzz::{Finding, FuzzOptions, FuzzReport, Outcome, fuzz};
71pub use gen_command::{GenError, GenMode, GenOutcome, gen_app, regenerate, regenerated};
72pub use islands::{IslandMode, has_islands};
73#[cfg(feature = "mcp")]
74pub use mcp::serve_mcp;
75pub use new_command::{
76    AccountScreen, AreaAccess, FileChange, NEW_COMMANDS, NewCode, NewCommand, NewMenuEntry,
77    NewRoute, new_app, new_code, new_module,
78};
79pub use routes_command::route_table;
80pub use scaffold_command::scaffold_screen;
81pub use scaffold_tests::{ScaffoldedTests, scaffold_tests};
82pub use schedule_command::run_schedule;
83pub use schema_command::check_schema;
84pub use seed_command::{SeedReport, SeededRoute, seed};
85pub use split_command::{Split, SplitPlan, split_module, split_plan};
86pub use tasks_command::task_table;
87pub use upgrade::{Change, UpgradeReport, upgrade};