book
book copied to clipboard
Documentation on how to use the Rust Programming Language to develop commandline applications
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.0 to 4.0.7. Release notes Sourced from clap's releases. v4.0.7 [4.0.7] - 2022-09-30 Features (derive) Populate implicit ArgGroup (#3165) Fixes (derive) Support #[group(skip)] on Parser derive (derive)...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.9.0 to 0.9.1. Commits 4a10645 Release version 0.9.1 5b88725 Remove custom_target example 26d4a47 Deprecate Target::Pipe since it is broken ade9f7f Remove "actively maintaned" badge 38643a3 Remove bogus...
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.63 to 1.0.65. Release notes Sourced from anyhow's releases. 1.0.65 impl Provider for anyhow::Error 1.0.64 Correctly propagate Backtrace when using #[source] anyhow::Error with thiserror crate (#231) Commits...
As requested in https://github.com/rust-cli/book/pull/166#discussion_r972045274 I'd like to open up a discussion about config description. The general idea of what I call "config description" here is that a given configuration type...
This is a bit of a shameless self-plug. The mentioned `type_description` crate was a by-product of some work @TheNeikos and I have done and we've used it already to do...
Below test with more description can be found at [](https://rust-cli.github.io/book/tutorial/testing.html) ``` use assert_cmd::prelude::*; // Add methods on commands use predicates::prelude::*; // Used for writing assertions use std::process::Command; // Run programs...
First, thank you for taking the time to create this guide (and reading this). :-) It was my understanding from the beginning that the guide would guide one towards creating...
Going through the TODO on the page: > Evaluate crates that exist https://docs.rs/config/latest/config/ seems to be the most popular crate. > Cli-args + multiple configs + env variables clap has...
Can I add Traditional Chinese Version in offical link ? Link: https://github.com/neko0xff/rust-cli-zh_TW
Is it relevant (yet) to update the targeted rust edition (from 2018)? If yes, should that be 2024?