edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
208 stars 26 forks source link

Edgedb command to do #8

Closed tailhook closed 4 years ago

tailhook commented 4 years ago
  1. [ ] REPL
  2. [ ] Commands
  3. [ ] Protocol implementation
    • [x] Check what's left
    • [x] Rename feature flags to with-* #6
    • [ ] dump/restore
    • [x] LogMessage
    • [x] ParameterStatus
    • [x] Flush
    • [x] use Flush instead of Sync during a single request processing
    • [ ] OptimisticExecute
    • [x] Terminate
    • [ ] Bad protocol in handshake might need to be handled better
  4. [ ] Packaging
    • [x] Static, musl-based build
    • [ ] Actual distribution package
      1. [ ] Extra features
    • [ ] create-database --init-schema-file=xxx.edgeql
    • [x] allow $vars in REPL
      • [ ] non-string types support
elprans commented 4 years ago

allow $vars in REPL

This should be done via SET GLOBAL server-side (see also https://edgedb.com/roadmap/#access_control)

elprans commented 4 years ago

My wishlist to start using this REPL by default is:

tailhook commented 4 years ago

@elprans vi mode is currently enabled by configuring rustyline. Do you need a config or a shortcut?

elprans commented 4 years ago

We can have it as a slash command and then have a config file that simply lists slash commands executed at startup.

tailhook commented 4 years ago

Well, the problem with the current implementation is that vi mode treats the whole input as line rather than a physical line. So it's barely usable :(

tailhook commented 4 years ago

Most things are done. Others are moved to individual issues, mostly in the edgedb-cli repo.