JT
1dbf351425
Handle external redirects better ( #598 )
...
* Handle external redirects better
* fix warnings
2021-12-27 08:58:53 -06:00
Michael Angerman
f50f37c853
fix issue #559 : to json -r serializes datetime without spaces ( #596 )
...
* fix issue #559 : to json -r serializes datetime without spaces
* add in a third test which checks spaces in both keys and values
* fix clippy error
2021-12-27 21:51:38 +11:00
JT
3706bef0a1
Require let to be a statement ( #594 )
2021-12-27 14:04:22 +11:00
JT
de30236f38
Fix ls listing ( #593 )
2021-12-27 12:46:32 +11:00
JT
e1c92e90ca
Add line ending autodetect to 'lines' ( #589 )
2021-12-27 10:11:18 +11:00
Stefan Holderbach
39f03bf5e4
Decode escaped newlines in history command ( #592 )
...
Reedline currently encodes newlines as `<\n>`
2021-12-27 10:11:08 +11:00
JT
e62e0fb679
Flush stmts ( #584 )
...
* Flush the stmt via table to the screen
* Fix test
2021-12-27 07:21:24 +11:00
JT
89a000a572
Fix some 'open' signature stuff ( #583 )
2021-12-26 09:13:43 +11:00
JT
ca6baf7a46
Add single tick string interpolation ( #581 )
...
* Add single tick string interpolation
* give string interpolation its own highlighting
2021-12-26 07:50:02 +11:00
JT
d603086d2f
Fix custom call scope leak, refactor tests ( #580 )
...
* Fix custom call scope leak, refactor tests
* Actually add tests
2021-12-26 06:39:42 +11:00
JT
a811eee6b8
Add support for 'open' ( #573 )
2021-12-25 06:24:55 +11:00
JT
1efae6876d
Wire hex viewing into a few more places ( #572 )
2021-12-25 05:15:01 +11:00
nibon7
1214cd57e8
bat: use regex-onig instead of regex-fancy ( #4226 )
...
Fixes #4224
Signed-off-by: nibon7 <nibon7@163.com>
2021-12-24 08:34:59 -06:00
JT
3522bead97
Add string stream and binary stream, add text decoding ( #570 )
...
* WIP
* Add binary/string streams and text decoding
* Make string collection fallible
* Oops, forgot pretty hex
* Oops, forgot pretty hex
* clippy
2021-12-24 18:22:11 +11:00
JT
7f0921a14b
Add metadata command ( #569 )
...
* Add metadata command
* Add string interpolation to testing
2021-12-24 11:16:50 +11:00
JT
b719f8d4eb
Add missing flags to existing commands ( #565 )
...
* Add missing flags to existing commands
* fmt
2021-12-24 08:41:29 +11:00
Darren Schroeder
29c8b826d4
add configuration point for hint coloring ( #564 )
2021-12-23 15:02:57 -06:00
Darren Schroeder
ba1ff4cf6c
add configuration of maximum history size ( #563 )
2021-12-23 13:59:00 -06:00
Darren Schroeder
5c83f4d405
update to latest reedline ( #562 )
2021-12-23 13:39:54 -06:00
Fernando Herrera
f3c175562d
vi mode ( #561 )
2021-12-23 09:31:16 +00:00
Matthew Auld
c33104c4ae
Ported compact command to engine-q ( #558 )
...
* :Interm work porting compact to engine-q
* Port 'compact' command from nushell to engine-q
* Fixed example
2021-12-23 14:08:39 +11:00
JT
ef59b4aa51
Some multiline fixes ( #557 )
2021-12-23 09:53:19 +11:00
JT
3389baa392
Improve multiline history ( #556 )
2021-12-23 07:44:05 +11:00
Michael Angerman
5d3b63fa90
add in a raw flag in the command to json ( #555 )
...
* add in the method to_string_raw
* add in a raw flag to json
* add in a test
2021-12-23 06:56:49 +11:00
nibon7
6cd124ddb2
allow insecure server connections when using SSL ( #4219 )
...
Fixes #4211
Signed-off-by: nibon7 <nibon7@163.com>
2021-12-23 06:48:43 +11:00
Jakub Žádník
061c822c5d
Add environment variables doc page ( #554 )
...
* Fix typos
* Add environment variables doc page
* Remove Breaking Changes page
2021-12-23 06:44:14 +11:00
JT
0c920f7d05
Add history command ( #553 )
2021-12-22 22:19:38 +11:00
JT
43dd0960a0
Use latest history hint ( #552 )
2021-12-22 20:39:35 +11:00
JT
9fb12fefb0
Improve history hinting ( #551 )
2021-12-22 20:12:24 +11:00
Jakub Žádník
8ba3e3570c
Interpret lists as series of args for externals ( #550 )
...
* Interpret lists as series of args for externals
* Fix clippy warnings
2021-12-22 10:13:05 +02:00
Fernando Herrera
ea6912c3f7
missing commands ( #549 )
2021-12-22 10:35:02 +11:00
Jakub Žádník
deeb1da359
Allow having only one env conversion ( #548 )
...
Allows setting only `from_string` or `to_string` in `env_conversions`
config. Previously, both were required.
2021-12-22 00:32:38 +02:00
Jakub Žádník
52dba91e1a
Wrap captured env var names into quotes as well ( #546 )
2021-12-21 23:31:30 +02:00
JT
266fac910a
Signature improves, sorted completions ( #545 )
2021-12-22 07:50:18 +11:00
Fernando Herrera
3ad5d4af66
sort env vars ( #544 )
2021-12-22 07:27:19 +11:00
Ștefan
a93a9b9029
Add skip-empty flag to lines command ( #543 )
...
* Add skip-empty flag to lines command
* Fix failing length test
2021-12-22 07:24:11 +11:00
Fernando Herrera
6a35e6b7b6
Dataframe commands ( #542 )
...
* groupby object
* aggregate command
* eager commands
* rest of dataframe commands
2021-12-22 05:32:09 +11:00
JT
c3a16902fe
Fix list printing ( #540 )
2021-12-21 20:05:16 +11:00
JT
fc7ed1bfe4
switch substring to bytes ( #538 )
...
* switch substring to bytes
* Add a test
2021-12-21 11:49:02 +11:00
Braulio Valdivielso Martínez
d32aec5906
Don't panic if the other end of std{out,err} is closed ( #4179 )
...
* fix #4161
println! and friends will panic on BrokenPipe. The solution is to use
writeln! instead, and ignore the error (or do we want to do something else?)
* test that nu doesn't panic in case of BrokenPipe error
* fixup! test that nu doesn't panic in case of BrokenPipe error
* make do_not_panic_if_broken_pipe only run on UNIX systems
2021-12-21 10:08:41 +11:00
Jakub Žádník
1609101e62
Fix capturing environment variables with " or ' ( #537 )
...
* Fix path expand error span
* Fix capturing env vars containing ' or "; Rustfmt
2021-12-20 23:19:43 +02:00
JT
0571a6ee34
Merged heterogeneous tables ( #536 )
...
* Merged heterogeneous tables
* switch emoji
2021-12-21 08:03:47 +11:00
JT
152467a858
Flatten should flatten embedded table ( #534 )
2021-12-21 06:03:18 +11:00
JT
caf73c36f2
Finish adding support for optional params ( #530 )
2021-12-20 17:58:09 +11:00
Fernando Herrera
e949658381
nothing variable ( #527 )
...
* nothing variable
* corrected comments
* added color to nothing like bool
* compare nothing with values
* comparison tests
2021-12-20 12:05:33 +11:00
Jae-Heon Ji
ff5b7e5ad2
feat(into): add into-bool command ( #499 )
...
* feat(into): add example of into-bool
* feat(into): add convert from int and float
* feat(into): add converting string to bool
* feat(into): add converting value in table
* fix(into): update error
* fix(into): update span for example
* chore(into): update signature description
* float comparison using epsilon
* Update bool.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2021-12-20 07:11:28 +11:00
JT
cf5048205f
Allow empty span slice for now ( #529 )
2021-12-20 06:25:02 +11:00
Ștefan
c37bdcd119
port empty command ( #528 )
...
* port empty command
* Pull upstream and use test_data() function for example tests
2021-12-20 06:11:57 +11:00
Fernando Herrera
038ad951da
name change ( #526 )
2021-12-19 10:00:31 +00:00
JT
2883d6cd1e
Remove Span::unknown ( #525 )
2021-12-19 18:46:13 +11:00