cargo-funnel 0.5.1

cargo subcommand to reorganize and sort your Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::{App, Arg};

pub fn build_app<'a, 'b>() -> App<'a, 'b> {
    App::new(crate_name!())
        .version(crate_version!())
        .author(crate_authors!())
        .about(crate_description!())
        .version_short("v")
        .arg(
            Arg::with_name("funnel")
                .possible_value("funnel")
                .index(1)
                .required(true)
                .hidden(true),
        )
}