All Projects → rust-cli → Thunder

rust-cli / Thunder

⚡ Zero-boilerplate commandline argument parsing in Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Thunder

Caporal.js
A full-featured framework for building command line applications (cli) with node.js
Stars: ✭ 3,279 (+815.92%)
Mutual labels:  cli-app, argument-parsing
Gkill
Interactice process killer for Linux and macOS
Stars: ✭ 297 (-17.04%)
Mutual labels:  cli-app
Utlyz-CLI
Let's you to access your FB account from the command line and returns various things number of unread notifications, messages or friend requests you have.
Stars: ✭ 30 (-91.62%)
Mutual labels:  cli-app
AnyOption
C/C++ Command line and resource file option parsing
Stars: ✭ 83 (-76.82%)
Mutual labels:  argument-parsing
EasyEuler
A command line tool for Project Euler
Stars: ✭ 29 (-91.9%)
Mutual labels:  cli-app
MusicSharp
MusicSharp is a lightweight, cross-platform TUI music player written in C#.
Stars: ✭ 41 (-88.55%)
Mutual labels:  cli-app
perbase
Per-base per-nucleotide depth analysis
Stars: ✭ 46 (-87.15%)
Mutual labels:  cli-app
Stargazed
📋 Creating your own Awesome List of GitHub stars!
Stars: ✭ 339 (-5.31%)
Mutual labels:  cli-app
Argparse
Argparse for golang. Just because `flag` sucks
Stars: ✭ 294 (-17.88%)
Mutual labels:  cli-app
oidc-agent
oidc-agent for managing OpenID Connect tokens on the command line
Stars: ✭ 47 (-86.87%)
Mutual labels:  cli-app
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
Stars: ✭ 94 (-73.74%)
Mutual labels:  cli-app
bilisim sozlugu
Translating computer words from English to Turkish
Stars: ✭ 28 (-92.18%)
Mutual labels:  cli-app
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.
Stars: ✭ 3,286 (+817.88%)
Mutual labels:  argument-parsing
Typon
A multi-featured typing practice tool that runs on a terminal emulator which can turn any text file into a typing game.
Stars: ✭ 53 (-85.2%)
Mutual labels:  cli-app
doing-cli
CLI tool to simplify the development workflow on azure devops
Stars: ✭ 19 (-94.69%)
Mutual labels:  cli-app
monoreact
📦 React workspaces implementation
Stars: ✭ 13 (-96.37%)
Mutual labels:  cli-app
go-terrain-gen
A simple terrain generator in Go, for shits and giggles
Stars: ✭ 17 (-95.25%)
Mutual labels:  cli-app
Speed Test
Test your internet connection speed and ping using speedtest.net from the CLI
Stars: ✭ 3,654 (+920.67%)
Mutual labels:  cli-app
Create Dmg
Create a good-looking DMG for your macOS app in seconds
Stars: ✭ 3,494 (+875.98%)
Mutual labels:  cli-app
Cli
✨ A powerful CLI for the Create Go App project. Create a new production-ready project with backend, frontend and deploy automation by running one CLI command!
Stars: ✭ 292 (-18.44%)
Mutual labels:  cli-app

Build status Docs.rs



Write simple commandline applications in Rust with zero boilerplate. Bind Rust functions to CLI functions and options with macros. This crate uses clap.rs for the actual argument parsing.

Example

// ... ignore the imports for now ...

struct MyApp;

/// Describe your application with style ✨
#[thunderclap]
impl MyApp {
    /// Say hello to someone
    fn hello(name: &str) {
        println!("Hello {}", name);
    }
}

fn main() {
    MyApp::start();
}

This prints

USAGE:
    MyApp [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    hello    Say hello to someone
    help     Prints this message or the help of the given subcommand(s)

Check the documentation for more examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].