156 Commits (2a91eab273e4a4d989cc87336ed755b3e947d55b)

Author SHA1 Message Date
Sayan e9620d0a8c
Release 0.7.3 (#238)
* Bump version

* Upgrade deps
3 years ago
Sayan Nandan 9b296cbf9b
Bump version 3 years ago
Sayan Nandan c961548b01
Upgrade deps and bump version 3 years ago
Sayan Nandan e9369a40ef
Simplify recipes 3 years ago
Sayan Nandan 0b54ea1cb3
Bump up version 3 years ago
Sayan Nandan d550e0d7a7
Expect `noart` in production mode
This might make one think that we are being outrageously strict,
but at the end of the day, it can help investigate crashes
or inspect logs without artwork all over the place.

Following some discussions, the `user` mode was renamed to `dev`
mode.

This commit also upgrades some deps, other than clap which has
deprecated yaml support (we will continue to use 2.x).

Finally, the CHANGELOG was updated.
3 years ago
Sayan Nandan c68d3ea3f4
Upgrade deps
All deps except for `clap` has been upgraded. Due to the removal of
the `args` field in `ArgMatches` in v3, and our dependence on the
field, we cannot upgrade to the latest version.

A PR has been created and once it is merged or a workaround
suggested, we can upgrade. (see clap-rs/clap#3265)
3 years ago
Sayan Nandan 1c16e43d3d
Upgrade deps 3 years ago
Sayan Nandan 7c9058a02e
Upgrade deps 3 years ago
Sayan Nandan 50eb183f46
Upgrade deps 3 years ago
Sayan Nandan 93d1004c80
Add changelog and switch to using rustc edition 2021 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 b440a7ceec
Merge branch 'pipeline' into next 3 years ago
Sayan Nandan 9656d7d9f6
Upgrade deps
Also added changelog entry
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
Sayan Nandan 2814bdb151
Bump up version to 0.7.1
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 18a0f557a0
Merge branch 'config/env' into next 3 years ago
Sayan Nandan a43e1183b3 Bump up version 3 years ago
Sayan Nandan eb037fcd62 Add basic `env` config module 3 years ago
Sayan Nandan 44c6e61c10 Add `UnknownDataType` error handling in `skysh` 3 years ago
Sayan Nandan 6cd3d4d2eb Improve printing of binary strings in shell 3 years ago
Sayan Nandan e1ee9314f5 Add `is_empty` to `AnyArrayIter` for specificity 3 years ago
Sayan Nandan 8c95ef0049 Upgrade deps 3 years ago
Sayan 111d50b75e
Release v0.7.0 (#210)
* Simplify query gen in sky-bench and bump versions

* Upgrade to the latest driver version
3 years ago
Sayan Nandan 4ef28ea7e8 Upgrade deps 3 years ago
Sayan Nandan 76e0cf607c Switch `MPOP` to returning a `Typed Array`
This makes its behavior similar to that of the other mutating actions.
3 years ago
Sayan Nandan e55bf528be Fix `testkey` impl in sky-bench 3 years ago
Sayan Nandan e91b070216 Add printing for flat arrays in skysh 3 years ago
Sayan Nandan 313a7c1279 Improve runner output 3 years ago
Sayan Nandan 2ed3335a1e Upgrade all interfaces to use the latest driver
Fix lskeys impl
3 years ago
Sayan Nandan 42f3251d2c Upgrade deps
Also added docs for Skymap
3 years ago
Aaron Hill 28133ddc5f
Remove trailing semicolons from macros (#201)
This fixes warnings on the latest nightly.
See https://github.com/rust-lang/rust/issues/79813
3 years ago
Sayan b6fcb4c035
Add `drop keyspace <name> force` (#192)
* Add forceful dropping of keyspaces

This commit also improves the reliability of `drop keyspace` in general

* Add changelog

* Add tests for `force_drop_keyspace`

* Upgrade deps
3 years ago