g1t agentAdd LICENSE file with the MIT license text9418dc7a3cb1a7cc5652e040622ab324e50fec159418dc7
README.md
hello
Greets people from the command line.
Usage
| Argument | Description |
|---|---|
NAME | Optional. The name to greet. Only the first argument is read. Defaults to the USER environment variable, then to world. |
--shout | Upper-cases the greeting. |
--version | Prints the crate version and exits. |
--times N | Prints the greeting N times. Defaults to 1. |
$ cargo run -- Ada
Hello, Ada!sh
$ cargo run -- --shout Ada
HELLO, ADA!sh
$ cargo run -- --times 2 Ada
Hello, Ada!
Hello, Ada!sh
$ cargo run -- --version
0.1.0sh
With no name it greets whoever is signed in.
Develop
This project uses the Rust 2021 edition.
cargo testsh
License
This project is licensed under the MIT License. The full license text is available at https://opensource.org/license/mit.