import { CommandMeta } from "../types.mjs"; //#region src/codegen/parsers/bash.d.ts /** * Parse bash completion scripts into CommandMeta. * * Bash completions typically use `complete -F ` and define * a function that sets COMPREPLY. Common patterns: * * local commands="init build deploy" * local args="--verbose --output --format" * case "$prev" in --format) COMPREPLY=($(compgen -W "json yaml toml" ...)) ;; * COMPREPLY=($(compgen -W "$commands" ...)) * COMPREPLY=($(compgen -W "$args" ...)) */ declare function parseBashCompletions(text: string): CommandMeta; //#endregion export { parseBashCompletions }; //# sourceMappingURL=bash.d.mts.map