Skip to content

A demo about building a CLI tool with Rust and Clap

Notifications You must be signed in to change notification settings

portocodes/dadjoke-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dadjoke

This is a command-line application built in the course of a demo presented at Porto Codes.

The idea of the demo was to show how to build a command-line application using Rust and Clap. The application also uses the reqwest crate to make a request to an HTTP API.

Usage

$ dadjoke --help
dadjokes 1.0
Ricardo Mendes
Tells dad jokes!

USAGE:
    demo [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --search <SEARCH>    Searches for a specific term

About

A demo about building a CLI tool with Rust and Clap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages