pub fn write_completions(shell: Shell, out: &mut impl Write) -> Result<()>
Write the completion script for shell to out.
shell
out