Expand description
Utilities to handle program arguments and other values of interest.
Modules§
- collate
- Utilities to collate errors of common operations into one error type.
Functions§
- agent
- Returns the name of the agent for identification towards a remote server as statically known when compiling the crate.
Suitable for both
gitservers and HTTP servers, and used unless configured otherwise. - args_os
- Equivalent to
std::env::args_os(), but with precomposed unicode on MacOS and other apple platforms. It does not change the input arguments on any other platform. - args_
os_ opt - Like
args_os(), but with theprecompose_unicodeparameter akin tocore.precomposeUnicodein the Git configuration. - os_
str_ to_ bstring - Convert the given
inputinto aBString, useful for usage inclap.