Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 556 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 556 Bytes

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