up 0.18.1

up is a tool to help you keep your machine up to date.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Generates up CLI completions.
use crate::opts::CompletionsOptions;
use crate::opts::Opts;
use clap::CommandFactory;

/// Run the `up completions` command.
pub(crate) fn run(cmd_opts: CompletionsOptions) {
    let CompletionsOptions { shell } = cmd_opts;
    clap_complete::generate(shell, &mut Opts::command(), "up", &mut std::io::stdout());
}