lgtm-cli 0.4.0

Run LGTM code reviews with a bundled web UI and gRPC server.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{
    commands::NotImplemented,
    models::{LocalArgs, parse_nonempty},
};
use clap::Args;

#[derive(Args)]
pub struct AddArgs {
    #[arg(required = true, num_args = 1.., value_parser = parse_nonempty)]
    pub paths: Vec<String>,
    #[command(flatten)]
    pub location: LocalArgs,
}

pub fn run(_args: AddArgs) -> anyhow::Result<()> {
    Err(NotImplemented { operation: "add" }.into())
}