Skip to main content

script

Function script 

Source
pub fn script(bin: &str, shell: Shell) -> String
Expand description

The completion script for bin in shell, ready to be sourced or installed where the shell looks for completions.

ยงPanics

If bin is not one plain word (letters, digits, -, _, ., +): the scripts name it unquoted where no shell allows quotes.