#![deny(clippy::all, clippy::nursery, clippy::pedantic, clippy::cargo)]

use argh::FromArgs;

/// Reach new heights.
#[derive(FromArgs)]
struct GoUp {
    /// whether or not to jump
    #[argh(switch, short = 'j')]
    jump: bool,

    /// how high to go
    #[argh(option)]
    height: usize,

    /// an optional nickname for the pilot
    #[argh(option)]
    pilot_nickname: Option<String>,
}

fn main() {
    let up: GoUp = argh::from_env();
}
