gitignore-template-generator 0.12.0

A binary crate to generate templates for .gitignore files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::{Arg, ArgAction};

use super::ClapArg;
use crate::constant;

pub struct HelpClapArg;

impl ClapArg for HelpClapArg {
    fn build() -> Arg {
        Arg::new("help")
            .id("HELP")
            .short(constant::cli_options::HELP.short)
            .long(constant::cli_options::HELP.long)
            .help(constant::help_messages::HELP)
            .action(ArgAction::SetTrue)
    }
}