We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1540d47 commit c7cfc59Copy full SHA for c7cfc59
cmdcomp/v2/templates/bash.sh.jinja
@@ -148,3 +148,6 @@ cur=$COMP_CWORD
148
}
149
150
complete -F {{ func_name }} -o bashdefault -o default {{ app_name }}
151
+{%- for alias in app_aliases %}
152
+complete -F {{ func_name }} -o bashdefault -o default {{ alias }}
153
+{%- endfor -%}
samples/v2/config.cmdcomp.toml
@@ -3,7 +3,7 @@ version = "2"
3
4
[app]
5
name = "cliname"
6
-alias = "cliname2"
+alias = ["cliname2"]
7
8
[root]
9
[root.arguments.--verbose]
samples/v2/output.bash
@@ -224,3 +224,4 @@ _cliname() {
224
225
226
complete -F _cliname -o bashdefault -o default cliname
227
+complete -F _cliname -o bashdefault -o default cliname2
0 commit comments