graphqurl icon indicating copy to clipboard operation
graphqurl copied to clipboard

Improve the REPL experience

Open alexkalderimis opened this issue 3 years ago • 1 comments

This makes the following improvements to the REPL experience:

  • CTRL_D now ends the session
  • The autocomplete menu is the native terminal-kit one, so has tab-support
  • We can autocomplete from partway through a query
  • We get error messages if we try to run an invalid query
  • We have editable history
  • History is persistent (supporting the XDG standard).

Demo: https://asciinema.org/a/fYCGz1Tv9pmcD0kbJKuKhQ0Ok

alexkalderimis avatar Feb 02 '21 18:02 alexkalderimis

Beep boop! :robot:

Hey @alexkalderimis, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! :sunglasses:

hasura-bot avatar Feb 02 '21 18:02 hasura-bot