ランキングに戻る

clap-rs/clap

Rustdocs.rs/clap

A full featured, fast Command Line Argument Parser for Rust

argument-parsingsubcommandsrustpositional-argumentsparsed-argumentscommand-linecommand-line-parserargument-parser
スター成長
スター
16.6k
フォーク
1.2k
週間成長
Issue
375
5k10k15k
2015年3月2018年12月2022年10月2026年7月
成果物crates.iocargo add clap
README

clap

Command Line Argument Parser for Rust

Crates.io Crates.io License License Build Status Coverage Status Contributors

Dual-licensed under Apache 2.0 or MIT.

Get Started

$ cargo add clap

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer

関連リポジトリ
remkop/picocli

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.

JavaMavenApache License 2.0javacommandline
picocli.info
5.4k473
mattallty/Caporal.js

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

TypeScriptnpmMIT Licenseclicli-app
3.4k94
ajalt/clikt

Multiplatform command line interface parsing for Kotlin

KotlinApache License 2.0kotlinkotlin-library
ajalt.github.io/clikt/
3k133
alexflint/go-arg

Struct-based argument parsing in Go

GoGo ModulesBSD 2-Clause "Simplified" Licenseargument-parsinggolang
pkg.go.dev/github.com/alexflint/go-arg
2.3k114
Taywee/args

A header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).

C++MIT Licenseargsargument-parsing
taywee.github.io/args/
1.6k182
Hejsil/zig-clap

Command line argument parsing library

ZigMIT Licensezig-packageargument-parser
1.6k99
matejak/argbash

Bash argument parsing code generator

M4Otherargument-parsingshell-scripts
argbash.dev
1.5k66
muellan/clipp

easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation

C++MIT Licensecppcpp11
1.3k154
brentyi/tyro

CLI interfaces & config objects, from types

PythonPyPIMIT Licenseargparseargument-parsing
brentyi.github.io/tyro
1.1k46