1 2 3 4 5 6 7 8 9 10
use structopt::*; #[derive(StructOpt)] #[structopt(name = "strip-ansi")] pub struct Args { /// Input text. /// Use stdin if not specified. #[structopt(name = "TEXT")] pub text: Option<String>, }