18 lines
373 B
Rust
18 lines
373 B
Rust
|
use clap::Command;
|
||
|
use crate::Path;
|
||
|
use std::process;
|
||
|
|
||
|
pub const PATH: Path = Path::Bin;
|
||
|
|
||
|
pub fn cli() -> Command {
|
||
|
Command::new("false")
|
||
|
.about("Does nothing unsuccessfully")
|
||
|
.long_about("Exit with a status code indicating failure")
|
||
|
.author("Nathan Fisher")
|
||
|
.version(env!("CARGO_PKG_VERSION"))
|
||
|
}
|
||
|
|
||
|
pub fn run() {
|
||
|
process::exit(1);
|
||
|
}
|