vecli 0.1.2

A zero-dependency, minimal CLI framework that's genuinely readable.
Documentation

vecli

A zero-dep, minimal CLI framework that's genuinely readable.

License Docs


Work In Progress

vecli is currently a work in progress and is not ready for use. The API is subject to change and the crate is experimental.

What is vecli?

vecli is a zero-dep CLI framework made in Rust with UX in mind, and makes development of CLI tools easy and straightforward.

Documentation

It's here.

Usage

example of a cli app made in vecli

Let's create your first CLI tool using vecli.

Create a new Rust project and add vecli as a dependency. More details here

Open main.rs and add the following code:

use vecli::*;

fn hello(_: &CommandContext) {
     println!("Hello!")
}

fn main() {
     App::new("my-app")
         .name("My App")
         .description("My App's Description")
         .add_command(Command::new("hello", hello))
         .run();
}

Run cargo run hello, and you should see Hello! printed to the console. Congrats, you've created your first CLI tool using vecli! Really, it's that easy. For more details, check the documentation.

Installation

To install vecli, add the following to your Cargo.toml file:

[dependencies]
vecli = "0.1"

License

This project is protected by the RazkarStudio Permissive License, a permissive source license with limitations to AI/ML training use. See LICENSE.md for more information.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

Cheers, RazkarStudio.