Crate roast_cli

Source

Modules§

cli
raw
recomprizz
roast
roast_scm

Functions§

raw_opts
Extracts a tarball as long as it is a supported mime-type. Arguments passed are based on crate::cli::RawArgs.
recomprizz_opts
A combination of raw and roast. It extracts a tarball of a supported mime-type and reproduces another tarball that might be of a different filename or compression option e.g. source.tar.gz -> source.tar.zst.
roast_opts
Processes CLI arguments that matches the fields in the RoastArgs constructor. There is an optional activation of tracing subscriber for logs as the second parameter which is useful for cases where you need to log the important values that are passed down in this function. NOTE: Always pass false to the start_trace parameter if there is already a global tracing activated in the environment.
roast_scm_opts
Creates a tarball from a given URL. URL must be a valid remote git repository.
start_tracing
Utility function to start tracing subscriber in the environment for logging. Supports coloured and no coloured outputs using terminfo::capability.