Updated autocomplete scripts

This commit is contained in:
Bartek Kryza
2023-11-13 22:20:14 +01:00
parent 146c79ac54
commit 4c1cd3578f
2 changed files with 8 additions and 2 deletions

View File

@@ -60,5 +60,8 @@ _arguments \
"--print-from[Print all possible 'from' values for a given diagram]" \ "--print-from[Print all possible 'from' values for a given diagram]" \
"--print-to[Print all possible 'to' values for a given diagram]" \ "--print-to[Print all possible 'to' values for a given diagram]" \
'--no-validate[Do not perform configuration file schema validation]' \ '--no-validate[Do not perform configuration file schema validation]' \
'--validate-only[Perform configuration file schema validation and exit]' '--validate-only[Perform configuration file schema validation and exit]' \
{-r,--render_diagrams}'[Automatically render generated diagrams using appropriate command]' \
'--plantuml-cmd[Command template to render PlantUML diagram, `{}` will be replaced with diagram name]' \
'--mermaid-cmd[Command template to render MermaidJS diagram, `{}` will be replaced with diagram name]'

View File

@@ -93,6 +93,7 @@ _clanguml() {
-p --progress \ -p --progress \
-q --quiet \ -q --quiet \
-l --list-diagrams \ -l --list-diagrams \
-r --render_diagrams \
--init \ --init \
--add-compile-flag \ --add-compile-flag \
--remove-compile-flag \ --remove-compile-flag \
@@ -111,7 +112,9 @@ _clanguml() {
--print-from \ --print-from \
--print-to \ --print-to \
--no-validate \ --no-validate \
--validate-only' -- $cur ) ) --validate-only \
--plantuml-cmd \
--mermaid-cmd' -- $cur ) )
return return
;; ;;
esac esac