All Projects → rust-cli → Climake

rust-cli / Climake

Licence: other
The simplistic, dependency-free cli library ✨

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Climake

Cli11
CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
Stars: ✭ 1,880 (+1252.52%)
Mutual labels:  cli, no-dependencies
Hed
vim like hex editor
Stars: ✭ 23 (-83.45%)
Mutual labels:  cli, no-dependencies
Galacritty
WIP GTK terminal emulator based on Alacritty
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli
Cli
share secrets within teams to avoid plain-text secrets from day one
Stars: ✭ 138 (-0.72%)
Mutual labels:  cli
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Gk
Go-Kit Genetator
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli
Cellular Automata Voxel Shader
Generate a voxel shader (for MagicaVoxel) from a custom CA rule
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Sphinx Click
A Sphinx plugin to automatically document click-based applications
Stars: ✭ 134 (-3.6%)
Mutual labels:  cli
Aws Nuke
Nuke a whole AWS account and delete all its resources.
Stars: ✭ 2,333 (+1578.42%)
Mutual labels:  cli
Site Scan
CLI for capturing website screenshots, powered by puppeteer.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Tenderly Cli
CLI tool for Smart Contract error tracking, monitoring and alerting.
Stars: ✭ 138 (-0.72%)
Mutual labels:  cli
Git Tidy
Tidy up stale git branches.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Certok
Command line tool to check the validity and expiration dates of SSL certificates.
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli
Whereami
📍 Get your geolocation information using freegeoip.app
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Graphql Cli
📟 Command line tool for common GraphQL development workflows
Stars: ✭ 1,814 (+1205.04%)
Mutual labels:  cli
Cargo Edit
A utility for managing cargo dependencies from the command line.
Stars: ✭ 2,095 (+1407.19%)
Mutual labels:  cli
Entrypoint
Composable CLI Argument Parser for all modern .Net platforms.
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli
Braincup
Train your math skills, memory and focus.
Stars: ✭ 137 (-1.44%)
Mutual labels:  cli
Nord Xfce Terminal
An arctic, north-bluish clean and elegant Xfce Terminal color theme.
Stars: ✭ 136 (-2.16%)
Mutual labels:  cli
Gh
(DEPRECATED) GitHub CLI made with NodeJS
Stars: ✭ 1,701 (+1123.74%)
Mutual labels:  cli

climake

The simplistic, dependency-free cli library ✨


This branch represents the unpublished rewrite version of climake with many advantages compared to the original version which is no longer developed upon!

Example 📚

Demo of a simple package manager:

use climake::prelude::*;

fn main() {
    let package = Argument::new(
        "The package name",
        vec!['p', 'i'],
        vec!["pkg, package"],
        Input::Text,
    );

    let add = Subcommand::new("add", vec![&package], vec![], "Adds a package");
    let rem = Subcommand::new("rem", vec![&package], vec![], "Removes a package");

    let cli = CliMake::new(
        "MyPkg",
        vec![],
        vec![&add, &rem],
        "A simple package manager demo",
        "1.0.0",
    );

    let parsed = cli.parse();

    for subcommand in parsed.subcommands {
        if subcommand.inner == &add {
            println!("Adding package {:?}..", subcommand.arguments[0]);
        } else if subcommand.inner == &rem {
            println!("Removing package {:?}..", subcommand.arguments[0]);
        }
    }
}

Installation 🚀

Simply add the following to your Cargo.toml file:

[dependencies]
climake = "3.0.0-pre.1" # rewrite isn't out just yet!

License

This library is duel-licensed under both the MIT License (LICENSE-MIT) and Apache 2.0 License (LICENSE-APACHE), you may choose at your discretion.

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