book
book copied to clipboard
Documentation on how to use the Rust Programming Language to develop commandline applications
- [x] fix in-depth/docs link ([tweet](https://twitter.com/softprops/status/1064348023575142400)) - [ ] include code examples (using summary/details elements) ([tweet](https://twitter.com/softprops/status/1064349622028488704)) - [ ] recommend [crossgen](https://github.com/yoshuawuyts/crossgen) ([tweet](https://twitter.com/bltavares/status/1064320724268130304)) - [ ] Maybe use setup from hyperfine...
Inspired by @vorner's comment (https://github.com/rust-lang-nursery/cli-wg/pull/105#discussion_r240003491). We should look into adding an in-depth chapter on how to write applications in a robust and well-behaved way. For example, when an application was...
Inspired by [this comment](https://www.reddit.com/r/rust/comments/aaood3/-/ecv7x2q) and rust-cli/team#29 I've been thinking about adding an in-depth chapter for performance considerations. The structure would be something like this: - Common issues and solutions around...
Writing a cli app also needs some good-looking UI but it's annoying to do this manually. I tend to write cli apps with TUI libraries, like [Cursive](https://crates.io/crates/cursive), [termion](https://crates.io/crates/termion)(termion is bindless...
It would be helpful to have a GitHub Actions example to go along with the Travis CI / Trust items in https://rust-lang-nursery.github.io/cli-wg/tutorial/packaging.html.
This addressed #36
It would be great to have an example cli-program with usage: sample-program --output if --output is missing, output will be written to stdout; if input-file is missing, input is read...
the format of: env RUST_LOG=output_log=info cargo run --bin output-log in section 1.5 Output for humans and machines doesn't work on my Mac. This does: RUST_LOG=info cargo run --bin output-log
Closes https://github.com/rust-cli/book/issues/55; based on convo there. Let me know if I should redo the sample code to use clap and include tests for it. I wasn't sure if that's necessary...
See https://github.com/benwilber/exitcode/pull/13#issuecomment-1266451847