Skip to main content

hyperlane_cli/help/
fn.rs

1/// Print help message
2pub fn print_help() {
3    log::info!("hyperlane-cli [COMMAND] [OPTIONS]");
4    log::info!("");
5    log::info!("Commands:");
6    log::info!("  watch     Watch files and run cargo run using cargo-watch");
7    log::info!("  new       Create a new project from template");
8    log::info!(
9        "  template  Generate template components (controller|domain|exception|mapper|model|repository|service|utils|view)"
10    );
11    log::info!(
12        "  fmt       Run unified crate-cli text/Rust formatting then normalize Hyperlane attributes"
13    );
14    log::info!("  -h, --help      Print this help message");
15    log::info!("  -v, --version   Print version information");
16    log::info!("");
17    log::info!("New Options:");
18    log::info!("  <PROJECT_NAME>  Name of the project to create");
19    log::info!("");
20    log::info!("Fmt Options:");
21    log::info!("  --check         Verify formatting without modifying files");
22    log::info!("  --path <PATH>   Target workspace directory or file path");
23}