Expand description
This crate provides both the library, and command-line tool for ‘mcfg’: Machine configurator, a cross-platform meta-package manager.
The library consists of two parts; the actions
module implements a simple
framework for adding commands to the command-line interface, and the shared
module provides the common models and other utilities required by the actions.
More information is found in the User Guide.
Modules§
- actions
- These actions are complete stand-alone entry points for the command-line tools. These may be invoked by other tools, however they may have side-effects such as writing to stdout.
- error
- The common
ErrorKind
,Error
, andResult
types used throughout. - shared
- Common modules used by the actions defined in the
actions
module.
Macros§
- ereportln
- Used by the library to report user messages, in interactive mode this will write to
stderr
otherwise it will log at levelerror
. - reportln
- Used by the library to report user messages, in interactive mode this will write to
stdout
otherwise it will log at levelinfo
.
Constants§
- APP_
NAME - The reported name for the command-line application.