pub fn generate_grouped_bash_completion(prog_name: &str) -> StringExpand description
Generate a bash completion script with grouped module support.
Position 1: complete with builtins + group names + top-level IDs.
Position 2 after exec: complete with all module IDs.
Position 2 other: export _APCORE_GRP="$prev", filter by group.