- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8
[REPL] Linter query completions #1993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Previously, all queries would be returned when trying to complete ':query @dataflow '.
| The sub-string argument (see below) of Node readline is a bit awkwardly handled right now.   | 
| "Right now" is such a funny thing to say for something that is probably permanent 🤣 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general fine, I would just love to have a unit or maybe even system test for the completions to trigger? I think a unit test would be easier, just to check whether rule:d<complete> contains (at least) the rules we like and only rules starting with d etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice! :)
Adds CLI completions for the linter query REPL command: