gitignore-template-generator 0.4.3

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
18
use clap::Arg;

use crate::constant;

use super::ClapArg;

pub struct EndpointUriClapArg;

impl ClapArg for EndpointUriClapArg {
    fn build() -> Arg {
        Arg::new("endpoint_uri")
            .id("ENDPOINT_URI")
            .short(constant::cli_options::ENDPOINT_URI.short)
            .long(constant::cli_options::ENDPOINT_URI.long)
            .help(constant::help_messages::ENDPOINT_URI)
            .default_value(constant::template_generator::URI)
    }
}