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.7k
포크
1.2k
주간 성장
+11
이슈
375
5k10k15k
2015년 3월2019년 1월2022년 11월2026년 9월
아티팩트crates.io
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.

JavaMavencliApache License 2.0javacommandline
picocli.info
5.4k483
mattallty/Caporal.js

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

TypeScriptnpmcliMIT Licenseclicli-app
3.5k94
ajalt/clikt

Multiplatform command line interface parsing for Kotlin

KotlincliApache License 2.0kotlinkotlin-library
ajalt.github.io/clikt/
3k135
alexflint/go-arg

Struct-based argument parsing in Go

GoGo ModuleslibraryBSD 2-Clause "Simplified" Licenseargument-parsinggolang
pkg.go.dev/github.com/alexflint/go-arg
2.3k115
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++cliMIT Licenseargsargument-parsing
taywee.github.io/args/
1.6k184
Hejsil/zig-clap

Command line argument parsing library

ZigcliMIT Licensezig-packageargument-parser
1.6k98
matejak/argbash

Bash argument parsing code generator

M4cliOtherargument-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++cliMIT Licensecppcpp11
1.3k154
brentyi/tyro

CLI interfaces & config objects, from types

PythonPyPIlibraryMIT Licenseargparseargument-parsing
brentyi.github.io/tyro
1.1k47