Skip to main content

emit_with_opts

Function emit_with_opts 

Source
pub fn emit_with_opts<T: RenderOutput>(
    cli: &Cli,
    cfg: Option<&RepoConfig>,
    out: &T,
    opts: RenderOpts,
) -> Result<()>
Expand description

Same as emit but lets the caller pass non-default render options (e.g. RenderOpts { short: true, .. } for log --oneline).