pub fn render(app: &Command, shell: Shell) -> StringExpand description
Renders a completion script for shell.
ยงExamples
use ssg::cmd::completions::{render, Shell};
use ssg::cmd::Cli;
let script = render(&Cli::subcommand_app(), Shell::Fish);
assert!(script.contains("complete -c ssg"));