Add Usage section to README
1 file+6−00/1 viewed
| 2 | 2 | ||
| 3 | 3 | Greets people from the command line. | |
| 4 | 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 | + | ||
| 5 | 11 | ```sh | |
| 6 | 12 | $ cargo run -- Ada | |
| 7 | 13 | Hello, Ada! |