This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate clap; | |
extern crate clap_generate; | |
use std::env; | |
use clap_generate::Shell; | |
include!("src/cli.rs"); | |
fn main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "dev" | |
version = "0.1.0" | |
authors = ["andrewmiller1 <38833810+andrewmiller1@users.noreply.github.com>"] | |
edition = "2018" | |
[dependencies] | |
clap = { git = "https://github.com/clap-rs/clap", rev = "683105cdd10c8a301e043a6c77531b2ff8c6a383", features = ["yaml"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate clap; | |
fn main() { | |
use clap::App; | |
let yml = load_yaml!("clap.yml"); | |
let matches = App::from(yml).get_matches(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "dev" | |
version = "0.1.0" | |
authors = ["andrewmiller1 <38833810+andrewmiller1@users.noreply.github.com>"] | |
edition = "2018" | |
[dependencies] | |
clap = { git = "https://github.com/clap-rs/clap", branch = "v3-master", features = ["yaml"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dev | |
version: "0.1.0" | |
about: dev executes development tasks. | |
author: andrewmiller1 <38833810+andrewmiller1@users.noreply.github.com> | |
# AppSettings can be defined as a list and are **not** ascii case sensitive | |
settings: | |
- ArgRequiredElseHelp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
npm ls --depth 0 --parseable 2> /dev/null | grep -oP --color=never '(?<=node_modules/).*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone https://github.com/alex-ozdemir/jq.git | |
cd jq | |
git checkout math-check-fix | |
git submodule update --init # if building from git to get oniguruma | |
autoreconf -fi | |
./configure --with-oniguruma=builtin | |
make -j8 | |
make check |