//! `rk completions`: shell completion generation.
use CommandFactory;
use crateCli;
use crateCompletionsArgs;
use crateRkError;
use crateOutput;
/// Generate completions for the requested shell on stdout.
///
/// The script is generated into a buffer and emitted through the output
/// boundary, so the one command whose result clap produces still follows
/// the same stream and failure policy as every other.
///
/// # Errors
///
/// Never fails; the signature matches the dispatch table.