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§
- Write container fetch progress to standard output.
- 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. - Write a deprecation notice, and sleep for 3 seconds.
- Write the status of layers to download.
- Parse the provided arguments and execute. Calls
clap::Error::exit
on failure, printing the error message and aborting the program.