Open bestouff opened 5 years ago
I agree, list and the lang queries need to be separated.
Not sure what the new syntax should be.
We could possibly add a lang
command. The new syntax be bliss lang rust,python
etc.
Or we could use flags like you suggested. Flags would be nice because you can setup short identifiers (i.e. -l
or -c
for list and cache)
Up for discussion.
Ok, I edited the issue with your suggestion.
Awesome, if anyone else wants to chime in we can discuss and finalize the syntax design.
Currently there's an ambiguity with
where
list
could be interpreted as a command or a language. Currently it's a command, but whenever a language with the same name would appear (and conversely, if a new command named like an existing language appears) there could be some troubles with e.g. some scripts invokingbliss
.Commands and languages should be separated, possible options (please edit if you have other ideas):
bliss --cache
(bonus: shortened commands, i.e.bliss -c
bliss --lang rust
lang
command, like this:bliss lang rust,python