147 Commits (614e71cbef46e55d76012b49276950b6217b4247)

Author SHA1 Message Date
Sayan Nandan ebd04a557e
skysh: Add `--eval` for running queries directly 7 months ago
Sayan Nandan baaa36d336
Improve help message generation and allow env var for password 7 months ago
Sayan Nandan c724678446
Upgrade deps 8 months ago
Sayan Nandan 0c5dc10f67
Fix masked input issues
Closes #323
9 months ago
Sayan Nandan c3fdb8f6c4
Fix journal not closed on start failure and flush before raw 9 months ago
Sayan Nandan 2b9a3ca6c1
Merge branch 'engine/v2' into next 10 months ago
Sayan Nandan c2cb63e466
Add `select all` 10 months ago
Sayan Nandan 8d6a047f02
Implement all inspect queries
Also cleaned up space handling
10 months ago
Sayan Nandan fce183afd9
Add `use $current` 10 months ago
Sayan Nandan 0fdd615665
Simplify entity handling, impl describe and use 10 months ago
Sayan Nandan 250a2b3c16
Implement new benchmark engine 10 months ago
Sayan Nandan fddb24ad0b
Implement new REPL and remove old impls 10 months ago
Sayan Nandan fff5780586
Remove old tools 10 months ago
Sayan Nandan e2b81ac77f
Upgrade deps 1 year ago
Sayan Nandan ba17f0a0cd
Cleanup code 2 years ago
Sanjay Sharma a2f3ff1b48
Add cli tests for skysh (#290) 2 years ago
Sayan Nandan b3bc07fd49
Update styling guide [skip ci] 2 years ago
Sanjay Sharma 54d2075a6d
Upgrading clap version to 4.x for skysh (#284) 2 years ago
Sayan Nandan 9372e3aeeb
Upgrade deps 2 years ago
Sayan Nandan 0df1acd2be
Simplify imports 2 years ago
Sayan Nandan cacad3ecd6
Add temporary hack to make BQL queries work in skysh 2 years ago
Sayan Nandan d4c10bee80
Upgrade deps and bump version 2 years ago
Sayan Nandan a018b76f40
Ensure empty payload is allowed
Bump Skytable driver git revision to ensure builds don't fail
(possibly a force push).
2 years ago
Sayan Nandan c4eaf3d182
Bump version [skip ci] 3 years ago
Sayan Nandan af9a3aef5e
Add printing for floats 3 years ago
Sayan Nandan 14d9eb4bac
Clean up code
Fixed Windows tests and also applied recent clippy suggestions
3 years ago
Sayan Nandan 81c3479ffb
Fix handling of EOF keystroke 3 years ago
Sayan Nandan b099dd1825
Add missing respcode output impls 3 years ago
Sayan Nandan b057de94e6
Bump version to 0.7.4 3 years ago
Sayan Nandan 426948f8d5
Upgrade deps 3 years ago
Sayan Nandan f67057dfb5
Add authn tests 3 years ago
Sayan Nandan f48e565065
Fix runner impl to use non-null typed array 3 years ago
Sayan 76f493753b
Add the `whereami` action (#232)
* Move macros into module

* Add the `whereami` action to identify the current entity

* Show entity group in the skysh prompt

* Add tests and actiondoc for `whereami`

* Add changelog entry

* Upgrade deps
3 years ago
Sayan Nandan b7f34d849f
Add the `!pipe` command to the shell 3 years ago
Sayan Nandan 6ea2f33840
Use a shorter startup message on skysh
The "huge" welcome is maybe not what we exactly want right on startup.
Hence, we will switch to using a shorter message.
3 years ago
Sayan Nandan fe5319bdea
Add shell specific commands
A shell-specific help command was added along with support for
explanations of shell-specific commands.
3 years ago
Sayan Nandan 57555e40c0
Use drain to avoid unnecessary clones 3 years ago
Sayan Nandan 58a755bf58
Simplify readline impl in skysh 3 years ago
Sayan Nandan bc318dd78d
Simplify `Runner` impl in skysh 3 years ago
Sayan Nandan f33b8dc00c
Support backticks in skysh 3 years ago
Sayan Nandan 87b8d91f2c
Support inline comments in `skysh`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 01ab66f64c
Support comments in `skysh`
Also support multiline pasting in the interactive shell

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan eb22456b18
Fix input of multiline commands in skysh
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 55fca51815
Disallow text directly before quotes
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan e18205c4d3
Disallow text directly after quote(s)
If we do permit this to happen, it can lead to several errors. For
example, if we ran this:

get rust'ferris'

the tokenizer would have inferred this as ["get", "rust", "ferris"]
which will lead to an action error. This commit prevents that from
happening.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 7973730de5
Issue errors with single quotes
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan af53eda1f7
Simplify line append op and add changelog entry
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 58d32c0a96
Add tests for skysh tokenizer
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan fcc99268fb
Support multiline strings in skysh
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 4d4ce95f13
Use manual tokenization for queries in skysh
This avoids all the regex fuss

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago