Skip to content

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

License

Notifications You must be signed in to change notification settings

shellshape/rust-cli-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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

Simply clone this repository and run the init.sh script with the name of your project. This will set the specified name in the Cargo.toml, will delete the LICENSE and overwrite the README.md. Also, it will remove the .git folder and re-initialize a new repository (only if you cloned this repository; not if you used the "use template" feature from GitHub).

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