Skip to content

ZenGo-X/rust-clap-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust Clap Example

Examples that demonstrate some advanced features in Rust (Macros, Attributes) using clap crate.

Installation

  1. Clone the repository:

    git clone https://github.com/ZenGo-X/rust-clap-example.git
    cd rust-clap-example
  2. Select which example to run in the main.rs:

    fn main() {
        macros_example::run_example();
    }

    or

    fn main() {
        attributes_example::run_example();
    }
  3. Build the project:

    cargo build
  4. Run the executable:

    ./target/debug/rust-clap-example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages