Render a completion script.
render_script(
shell: str,
root: CommandSpec,
programs: Sequence[str]
) -> str| Name | Type | Description |
|---|---|---|
shell* | str | |
root* | CommandSpec | |
programs* | Sequence[str] |
One of SHELLS.
Root command spec from build_spec.
Command names to register.