CLI args parser
Zod-based validation utilities: schema coercion, AI-readable error formatting, and CLI arg conversion
Get the value of a CLI argument
Unopinionated, no-frills CLI argument parser
Parse the things that can be arguments to `npm install`
Contain async insanity so that the dark pony lord doesn't eat souls
MongoDB Shell CLI REPL Package
MongoDB Shell CLI REPL
event interceptors - like middleware for EventEmitter
TypeScript definitions for npm-package-arg
Parsing command line arguments for node scripts.
Helper function for exhaustive checks of discriminated unions in TypeScript
Fast, in memory work queue
a util for spawning git from npm CLI contexts
Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.
programmatic library for `npm access` commands
featured command line args parser
Parse the things that can be arguments to `npm install`
Prettier plugin for Laravel Blade templates
Mid-level process.argv filtering utils that make CLI arg extraction a breeze.
library to do the things that 'npm version' does
timers module for browserify
Retry with exponential backoff for the command line.
A Redis Cli Tool
Rust task runner and build tool.
Block github pull request merges until all status checks have passed
A simple proc-macro that expands to the CLI args that were passed to rustc
Shared CLI argument structs and wallet loading for Solvela binaries
Minimal clap-like argument parsing and help rendering for wacli
CLI to create or append to podcast-compatible rss via args
Simply generates random key from CLI.
We've written code that merges/cascades default configuration, config-files, environment variables, and cli-passed arguments _too many times_. This gem intends to distill that into a configuration hash describing those controls and relationships, so that users can supply values in multiple ways.
Small base for CLI scripts; signal handling, indented logging, colors ticks/crosses, injectable args/IO.
== Baf baf helps writing an user acceptance test suite with a dedicated library and cucumber steps. It can run and wait for programs in a modified environment, verify the exit status, the output streams and other side effects. It also supports interactive programs and writing to their standard input. Then, it provides a DSL to write the CLI: require 'baf/cli' module MyProgram class CLI < Baf::CLI def setup flag_version '0.1.2'.freeze option :c, :config, 'config', 'specify config file' do |path| @config_path = path end end def run usage! unless arguments.any? puts 'arguments: %s' % arguments puts 'config: %s' % @config_path if @config_path end end end MyProgram::CLI.run ARGV Which behaves this way: % ./my_program Usage: my_program [options] options: -c, --config config specify config file -h, --help print this message -V, --version print version zsh: exit 64 ./my_program % ./my_program --wrong-arg Usage: my_program [options] options: -c, --config config specify config file -h, --help print this message -V, --version print version zsh: exit 64 ./my_program --wrong-arg % ./my_program foo arguments ["foo"] % ./my_program -c some_file foo arguments ["foo"] config path some_file
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.