Skip to main content

vela_cli/
lib.rs

1//! `vela` — the command-line binary.
2
3// The CLI / serve / workbench surface, relocated out of the
4// `vela-protocol` library so the substrate crate stays a pure protocol
5// library. These were `vela_protocol::{cli, serve, workbench, cli_*}`
6// before; they now live here and reach into the substrate via
7// `vela_protocol::*`.
8// The standard repository-authority transaction core used by fresh setup,
9// producer registration, verification import, and exact review decisions.
10pub(crate) mod authority_transaction;
11mod bounded_file;
12mod frontier;
13pub(crate) mod repository_authority_provider;
14pub(crate) use frontier::cli_read;
15mod write;
16pub(crate) use write::cli_write;
17mod tools;
18pub(crate) use tools::cli_check;
19mod config;
20pub(crate) mod current_doctor;
21pub(crate) mod current_init;
22pub(crate) mod current_read;
23pub(crate) mod current_repository_decision;
24pub(crate) mod current_submission;
25pub(crate) mod current_verification;
26pub(crate) mod current_work;
27pub(crate) mod git_hardened;
28pub(crate) use config::{cli_admin, cli_agents, cli_identity};
29// Current repository verification and object projections.
30pub(crate) mod current_repository;
31pub(crate) mod frontier_txn;
32mod operation_journal;
33mod server;
34mod target_index;
35pub(crate) mod ui;
36pub(crate) mod workflow;
37pub(crate) use server::{cli_commands, cli_engine};
38
39pub mod cli;
40
41pub fn run() {
42    crate::cli::run_from_args();
43}