hello/README.md
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Greet people from the command line | 1 | # hello |
| 2 | ||
| 3 | Greets people from the command line. | |
| 4 | ||
| Add Usage section to README | 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`. | | |
| Document --shout, --version and --times in README usage | 10 | | `--shout` | Upper-cases the greeting. | |
| 11 | | `--version` | Prints the crate version and exits. | | |
| 12 | | `--times N` | Prints the greeting `N` times. Defaults to 1. | | |
| Add Usage section to README | 13 | |
| Greet people from the command line | 14 | ```sh |
| 15 | $ cargo run -- Ada | |
| 16 | Hello, Ada! | |
| 17 | ``` | |
| 18 | ||
| Document --shout, --version and --times in README usage | 19 | ```sh |
| 20 | $ cargo run -- --shout Ada | |
| 21 | HELLO, ADA! | |
| 22 | ``` | |
| 23 | ||
| 24 | ```sh | |
| 25 | $ cargo run -- --times 2 Ada | |
| 26 | Hello, Ada! | |
| 27 | Hello, Ada! | |
| 28 | ``` | |
| 29 | ||
| 30 | ```sh | |
| 31 | $ cargo run -- --version | |
| 32 | 0.1.0 | |
| 33 | ``` | |
| 34 | ||
| Greet people from the command line | 35 | With no name it greets whoever is signed in. |
| 36 | ||
| 37 | ## Develop | |
| 38 | ||
| Mention Rust edition in README Develop section | 39 | This project uses the Rust 2021 edition. |
| 40 | ||
| Greet people from the command line | 41 | ```sh |
| 42 | cargo test | |
| 43 | ``` | |
| Merge main into main | 44 | |
| 45 | ## License | |
| 46 | ||
| 47 | This project is licensed under the MIT License. | |
| Link MIT license text from README License section | 48 | The full license text is available at https://opensource.org/license/mit. |
This file's history is long; its oldest lines are credited to the oldest commit read.