clikt - Intuitive command line interface parsing for Kotlin

  •        58

Clikt (pronounced "clicked") is a Kotlin library that makes writing command line interfaces simple and intuitive. It the "Command Line Interface for Kotlin". Inspired by Python's Click, it is designed to make the process of writing command line tools efortless while supporting a wide variety of use cases and allowing advanced customization when needed.

https://ajalt.github.io/clikt/
https://github.com/ajalt/clikt

Tags
Implementation
License
Platform

   




Related Projects

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.

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.

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.

picocli - a mighty tiny command line interface

  •    Java

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.

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...


go-flags - go command line option parser

  •    Go

Package flags provides an extensive command line option parser. The flags package is similar in functionality to the go builtin flag package but provides more options and uses reflection to provide a convenient and succinct way of specifying command line options. This specifies one option with a short name -v and a long name --verbose. When either -v or --verbose is found on the command line, a 'true' value will be appended to the Verbose field. e.g. when specifying -vvv, the resulting value of Verbose will be {[true, true, true]}.

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.

Easy C# Command Line Argument Parser

  •    VBNET

A very simple and easy to use command line argument parser library for .NET C# console applications. No need to read any documentation - just look at the provided example that you can also use as a template. The library has only 4 methods.

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.

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.

optparse-applicative - Applicative option parser

  •    Haskell

optparse-applicative is a haskell library for parsing options on the command line, providing a powerful applicative interface for composing these options. optparse-applicative takes care of reading and validating the arguments passed to the command line, handling and reporting errors, generating a usage line, a comprehensive help screen, and enabling context-sensitive bash, zsh, and fish completions.

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.

cxxopts - Lightweight C++ command line option parser

  •    C++

Note that master is generally a work in progress, and you probably want to use a tagged release version. This is a lightweight C++ option parser library, supporting the standard GNU style syntax for options.

Templatized C++ Command Line Parser

  •    C++

This is a simple templatized C++ library for parsing command line arguments. The library provides a simple, flexible object-oriented interface to the command line that automates argument parsing, USAGE creation and type casting.

nomnom - [UNMAINTAINED] Option parser for node with generated usage and commands

  •    Javascript

nomnom is an option parser for node. It noms your args and gives them back to you in a hash. Nomnom supports args like -d, --debug, --no-debug, --file=test.txt, --file test.txt, -f test.txt, -xvf, and positionals. Positionals are arguments that don't fit the -a or --atomic format and aren't attached to an option.

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.

args4j - args4j

  •    Java

args4j : Java command line arguments parser

MGR.CommandLineParser

  •    

MGR.CommandLineParser is a multi-command line parser. It uses System.ComponentModel.DataAnnotations to declare and validate the commands.

Command Line Parser

  •    CSharp

Provides a easy and strong typed command line parser.