flagon-io/hello

public

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

hello/README.md

22 lines372 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
20```sh
21cargo test
22```