Skip to content

shellshape/rust-cli-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust CLI Template

This is a simple Rust CLI template which I am using for my projects like those in my shellshape collection.

This template is based on Clap in combination with Figment and dirs for parsing configuration files. Also, anyhow is used for basic error handling.

Feel free to use this template as basis for your own projects!

Usage

First of all, you need cargo-generate to be installed.

cargo install cargo-generate

Now, you can simply use the following command to bootstrap your project with this template.

cargo generate --git https://github.com/shellshape/rust-cli-template template

About

A simple Rust CLI template which I am using for my projects - based on Clap and Figment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published