pub fn write_completion_script(shell: ShellType, path: &Path) -> Result<()>Expand description
Write a completion script to the specified path.
Creates parent directories if needed, then writes the completion script.
§Arguments
shell- The target shell typepath- The destination path for the script
§Returns
Ok(())- Script written successfullyErr(Autom8Error)- If directory creation or file write fails