add diagnostics subcommand to rust-analyzer CLI
This commit is contained in:
@@ -39,6 +39,10 @@ fn main() -> Result<()> {
|
||||
cli::analysis_bench(args.verbosity, path.as_ref(), what, load_output_dirs)?
|
||||
}
|
||||
|
||||
args::Command::Diagnostics { path, load_output_dirs } => {
|
||||
cli::diagnostics(path.as_ref(), load_output_dirs)?
|
||||
}
|
||||
|
||||
args::Command::RunServer => run_server()?,
|
||||
args::Command::Version => println!("rust-analyzer {}", env!("REV")),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user