Module ostree_ext::cli
source · [−]Expand description
Commandline parsing
While there is a separate ostree-ext-cli crate that
can be installed and used directly, the CLI code is
also exported as a library too, so that projects
such as rpm-ostree can directly reuse it.
Functions
Render an import progress notification as a string.
Parse a base
ImageReference from a CLI arguemnt.Parse an
OstreeImageReference from a CLI arguemnt.Parse an
ostree::Repo from a CLI arguemnt.Parse the provided arguments and execute.
Calls [
structopt::clap::Error::exit] on failure, printing the error message and aborting the program.