picocli - a mighty tiny command line interface

  •        144

Picocli is a one-file Java framework for parsing command line arguments and generating polished, easily tailored usage help messages. Java command line parser with both an annotations API and a programmatic API, featuring usage help with ANSI colors, autocomplete and nested subcommands. In a single file, so you can include it in source form. This lets users run picocli-based applications without requiring picocli as an external dependency.

https://github.com/remkop/picocli

Tags
Implementation
License
Platform

   




Related Projects

Caporal.js - A full-featured framework for building command line applications (cli) with node.js

  •    Javascript

A full-featured framework for building command line applications (cli) with node.js, including help generation, colored output, verbosity control, custom logger, coercion and casting, typos suggestions, and auto-complete for bash/zsh/fish.Angled brackets (e.g. <item>) indicate required input. Square brackets (e.g. [env]) indicate optional input.

airline - Java annotation-based framework for parsing Git like command line structures

  •    Java

Java annotation-based framework for parsing Git like command line structures

Cobra - A Commander for modern Go CLI interactions

  •    Go

Cobra is both a library for creating powerful modern CLI applications as well as a program to generate applications and command files. Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools.

argh - Argh! A minimalist argument handler.

  •    C++

If you're writing a highly-sophisticated command line tool, then Boost.Program_options and its kind might give you many advanced options. However, if you need to get up and running quickly, effectively and with minimal fuss, give the single header-file argh a try.

CLI11 - CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface

  •    C++

CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. CLI11 provides all the features you expect in a powerful command line parser, with a beautiful, minimal syntax and no dependencies beyond C++11. It is header only, and comes in a single file form for easy inclusion in projects. It is easy to use for small projects, but powerful enough for complex command line projects, and can be customized for frameworks. It is tested on Travis and AppVeyor, and is being included in the GooFit GPU fitting framework. It was inspired by plumbum.cli for Python. CLI11 has a user friendly introduction in this README, a more in-depth tutorial GitBook, as well as API documentation generated by Travis. See the changelog or GitHub Releases for details for current and past releases. Also see the Version 1.0 post, Version 1.3 post, or Version 1.6 post for more information.


ConsoleFx Commandline Processing Library

  •    CSharp

Command-line application library

JCommander - Command line parsing framework for Java

  •    Java

JCommander is a very small Java framework that makes it trivial to parse command line parameters. You annotate fields with descriptions of your options.

Command Line Parser Library

  •    DotNet

The Command Line Parser Library offers to CLR applications an hassle free API constantly updated API since 2005. Unix-like, automatic help screen generation.

kotlin-argparser - Easy to use and concise yet powerful and robust command line argument parsing for Kotlin

  •    Kotlin

This is a library for parsing command-line arguments. It can parse both options and positional arguments. It aims to be easy to use and concise yet powerful and robust. An instance of MyArgs will represent the set of parsed arguments. Each option and positional argument is declared as a property that delegates through a delegate factory method on an instance of ArgParser.

getopts - Node.js CLI arguments parser

  •    Javascript

Getopts is a Node.js CLI arguments parser. It's designed closely following the Utility Syntax Guidelines so that your programs behave like typical UNIX utilities effortlessly and without sacrificing developer experience. Use getopts to parse the command-line arguments passed to your program.

Rug.Cmd - Command Line Parser and Console Application Framework

  •    DotNet

Rugland Console Framework is a collection of classes to enable the fast and consistent development of .NET console applications. Parse command line arguments and write your applications usage. If you are developing command line or build process tools in .NET then this maybe th...

args4j - args4j

  •    Java

args4j : Java command line arguments parser

hstr - Bash and zsh shell history suggest box - easily view, navigate, search and manage your command history

  •    C

Easily view, navigate and search your command history with shell history suggest box for Bash and zsh. HSTR (HiSToRy) is a command line utility that brings improved Bash command completion from the history. It aims to make completion easier and more efficient than Ctrlr.

clap - A full featured, fast Command Line Argument Parser for Rust

  •    Rust

It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcommands when writing console/terminal applications. clap is used to parse and validate the string of command line arguments provided by a user at runtime. You provide the list of valid possibilities, and clap handles the rest. This means you focus on your applications functionality, and less on the parsing and validating of arguments.

Chalk - Terminal string styling done right

  •    Javascript

Chalk comes with an easy to use composable API where you just chain and nest the styles you want. Chain styles and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that chalk.red.yellow.green is equivalent to chalk.green.

SwiftCLI - A powerful framework that can be used to develop a CLI in Swift

  •    Swift

A powerful framework that can be used to develop a CLI, from the simplest to the most complex, in Swift. See migration information.

Jline3 - Java library for handling console input

  •    Java

JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline but with additional features that bring it in par with ZSH line editor. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.

fast-xml-parser - Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback

  •    Javascript

This project welcomes contributors. If you have a feature you'd like to see implemented or a bug you'd liked fixed, the best and fastest way to make that happen is to implement it and submit a PR. Basic knowledge of JS is sufficient. Feel free to ask for any guidance. To use it from CLI Install it globally with -g option.

Gengetopt - Command Line Argument Parser in C

  •    C

Gengetopt is a tool to generate C code to parse the command line arguments argc and argv that are part of every C or C++ program. The generated code uses the C library function getopt_long to perform the actual command line parsing.