flagon-io/hello

public

Greets people from the command line. The sample repository for g1t.

hello/README.md

28 lines475 bytesCodeBlame
1# hello
2
3Greets people from the command line.
4
5## Usage
6
7| Argument | Description |
8| -------- | ----------- |
9| `NAME` | Optional. The name to greet. Only the first argument is read. Defaults to the `USER` environment variable, then to `world`. |
10
11```sh
12$ cargo run -- Ada
13Hello, Ada!
14```
15
16With no name it greets whoever is signed in.
17
18## Develop
19
20This project uses the Rust 2021 edition.
21
22```sh
23cargo test
24```
25
26## License
27
28This project is licensed under the MIT License.