viur-framework / viur-cli

Command-line interface for managing and developing ViUR
MIT License
4 stars 6 forks source link

Autocompletion does no longer work with v2 #157

Open sveneberth opened 3 months ago

sveneberth commented 3 months ago
> eval "$(_VIUR_COMPLETE=bash_source viur)"
bash: Syntaxfehler beim unerwarteten Symbol »(«
> echo "$(_VIUR_COMPLETE=bash_source viur)"
ERROR: The configuration in project.json contains invalid JSON: Expecting value: line 1 column 1 (char 0). Please verify right syntax.

I'm using bash.

The viur-cli must not require a project.json when printing the help.

As workaround I've added a project.json into my home dir -- but that's not nice.