Updated autocomplete scripts
This commit is contained in:
@@ -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]'
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user