harn-cli 0.8.26

CLI for the Harn programming language — run, test, REPL, format, and lint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::path::PathBuf;

use clap::Parser;

#[derive(Debug, Parser)]
pub(crate) struct GraphArgs {
    /// Harn file or directory to analyze.
    pub root: PathBuf,

    /// Emit a stable JSON envelope instead of the text tree.
    #[arg(long)]
    pub json: bool,

    /// Focus output on one module path, import path, or basename.
    #[arg(long, value_name = "MODULE")]
    pub module: Option<String>,
}