JT
834f993547
Sort command ( #5054 )
2022-04-01 11:43:16 +13:00
Reilly Wood
79182db587
Clean up which/which-support Cargo feature ( #5019 )
...
* Rename "which" feature to "which-support"
* Ignore currently broken environment tests
2022-03-29 06:10:43 -05:00
JT
f3bb1d11d3
Add export alias
and export extern
( #4878 )
...
* export alias
* export extern
2022-03-20 07:58:01 +13:00
JT
0986eefb64
Add insert and update back ( #4864 )
2022-03-18 06:55:02 +13:00
Darren Schroeder
6700fbeed7
rename update
to upsert
to mirror what it really does ( #4859 )
...
* rename `update` to `upsert` to mirror what it really does
* change to latest reedline and nu-ansi-term
2022-03-16 19:13:34 -05:00
Justin Ma
643cce8a6f
Mark match
as deprecated command ( #4802 )
2022-03-09 20:58:42 -06:00
JT
4f43d75130
Simplify group/window into their own commands ( #4760 )
2022-03-06 20:01:29 -05:00
Yutaro Ohno
210d25f2a0
Add into duration
( #4683 )
...
* Add `into duration` command
* Avoid using unwrap()
* Use existing logic to parse duration strings
2022-03-03 08:16:04 -05:00
JT
0c3ea636fb
Add support for stderr and exit code ( #4647 )
2022-02-25 14:51:31 -05:00
JT
fd22211737
Add nuon format for fun ( #4401 )
...
* Add nuon format for fun
* more fun
* More nuon fixes, allow comments, improve errors
2022-02-20 16:26:41 -05:00
Eli Flanagan
e5bf56a7dd
port post ( #4537 )
...
This restores a basic version of the `post` command.
Some source types have been omitted from this first take.
I copied from `fetch` and from `post`@0.40.0.
Part of #4356
2022-02-18 13:53:10 -05:00
Justin Ma
560be6e73e
feat: mark str to-datetime as deprecated command ( #4448 )
2022-02-12 20:30:37 -06:00
Justin Ma
baf6348e66
feat: add unalias to deprecated command ( #4440 )
2022-02-12 17:06:52 +02:00
Fernando Herrera
1fd7b9ac38
roll commands ( #4437 )
...
* roll commands
* removed repeated funtion
2022-02-12 06:11:54 -05:00
Fernando Herrera
fcc13224c1
headers command ( #4414 )
...
* headers command
* correct behaviour headers
2022-02-11 21:06:49 -05:00
JT
a16e485cce
Add support for defining known externals with their own custom completions ( #4425 )
...
* WIP for known externals
* Now completions can work from scripts
* Add support for definiing externs
* finish cleaning up old proof-of-concept
2022-02-11 13:38:10 -05:00
Fernando Herrera
5cf91cb30d
deprecated commands ( #4405 )
...
* deprecated commands
* deprecated insert command
2022-02-10 12:55:19 +00:00
JT
5a1d81221f
Move 'nth' into 'select' ( #4385 )
2022-02-09 09:59:40 -05:00
JT
d70d91e559
Remove old nushell/merge engine-q
2022-02-07 14:54:06 -05:00
Fernando Herrera
fdce6c49ab
engine-q merge
2022-02-07 19:11:34 +00:00
JT
8a373dd554
Add each window ( #966 )
2022-02-06 20:23:18 -05:00
JT
c3e0e8eb5c
Add par-each group ( #965 )
2022-02-06 19:28:09 -05:00
Darren Schroeder
2dd32c2b88
Rename some files ( #952 )
...
* renamed some files
* clippy
* update tests
2022-02-05 12:35:02 -05:00
JT
3eba90232a
Port each group ( #953 )
2022-02-05 12:34:35 -05:00
JT
8a93548de2
Error make ( #948 )
...
* Add `error make` and improve `metadata`
* Allow metadata to work on just a pipeline
2022-02-05 09:39:51 -05:00
Fernando Herrera
abaeffab91
default keybindings command ( #943 )
2022-02-04 17:20:40 -06:00
Fernando Herrera
1e86af2fb9
list keybinding options ( #906 )
...
* list keybinding optins
* list keybinding options
* clippy error
2022-02-04 06:47:18 +00:00
Darren Schroeder
2f0bbf5adb
du
command (#916 )
...
* wip on `du` command
* working
2022-02-03 11:35:06 -06:00
Andrés N. Robalino
def5869c1c
command(split-by) ( #897 )
2022-01-30 18:29:21 -05:00
Jakub Žádník
2fbd182993
Allow viewing the source code of blocks ( #894 )
...
* Add spans to blocks and view command
* Better description; Cleanup
* Rename "view" command to "view-source"
2022-01-31 00:05:25 +02:00
Julian Aichholz
67cb720f24
Port update cells command ( #891 )
...
* Port update cells command
Clean up, nicer match statements in UpdateCellsIterator
Return columns flag into HashSet errors
Add FIXME: for update cell behavior on nested lists
* Fix: process cells for Record when no columns are specified
* Fix: address clippy lints for unwrap and into_iter
* Fix: don't step into lists and don't bind $it var
2022-01-30 23:41:05 +02:00
JT
060a4b3f48
Port detect columns
( #892 )
2022-01-30 07:52:24 -05:00
Stefan Stanciulescu
3c8716873e
Port rotate ( #880 )
...
* Add rotate command
* Add rotate counter clockwise
* Fix comments in the code
* Fix clippy warnings
* Fix comment
* Fix wrong step for non even table sizes
* Fix comment for moving through array
* Refactor rotate and have only one command with a --ccw flag for counter-clockwise rotation. By default, rotate is clockwise
* Update usage description
2022-01-29 15:47:28 -05:00
JT
44821d9941
Add support for def-env
and export def-env
( #887 )
2022-01-29 15:45:46 -05:00
Stefan Stanciulescu
1a25970645
Port rename ( #877 )
...
* Port rename
* Update description
* Fix fmt issues
* Refactor the code a bit and move things around
2022-01-29 05:26:47 -05:00
JT
285f65ba34
Port exec command ( #849 )
...
* Port exec command
* fix windows
* lint
2022-01-26 04:27:35 +11:00
JT
3023af66fd
Port default command ( #848 )
2022-01-26 02:02:15 +11:00
Jakub Žádník
53f41c1985
Port move ( #833 )
...
* Remove comment
* Fix merge not retaining LS_COLORS
* Add move command
* Add checking for non-existent columns
* Add move command examples; Disallow flag shorthand
2022-01-24 21:43:38 +02:00
JT
3d0b1ef1ce
Highlight help tutor ( #838 )
...
* WIP
* Syntax highlight help, add tutor
2022-01-25 02:05:19 +11:00
Arthur Targaryen
f82e2fbac6
Port find
command ( #658 )
...
* Add `Find` command
* Complete rustdoc for test `Value` constructors
* Use `Option::unwrap_or` instead of match
* Add `Value::test_filesize` constructor
* Handle searching for terms in `find`
* Fix `find` command signature
* Return multiple elements when `find`ing by predicate
* Do not accept rest parameter with predicate
* Handle `CellPath` in `r#in` and `not_in` for `Find`
* Use `PipelineData::filter`
2022-01-23 16:32:02 -06:00
Darren Schroeder
e11a030780
capture keyboard event ( #832 )
...
* capture keyboard event
* try a different strategy - still not working right
* fixed up
2022-01-23 16:09:39 -06:00
Michael Angerman
89d852f76c
port sort_by without float (yet) ( #814 )
2022-01-22 12:49:50 -08:00
Darren Schroeder
6a446f708d
add hash base64
( #813 )
2022-01-22 10:23:55 -06:00
Jakub Žádník
564c2dd7d1
Port merge command from Nushell ( #808 )
...
* Add example test to zip
* Port merge command from Nushell
On top of the original merge, this one should not collect a stream
returned from the merged block and allows merging records.
2022-01-22 01:50:26 +02:00
JT
6fa022b0a8
Add group-by and transpose (aka pivot) ( #803 )
2022-01-21 15:28:21 -05:00
Darren Schroeder
057bfff0cb
add term size
command ( #792 )
...
* add `term-size` command
* Update term_size.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-01-21 14:31:33 +11:00
JT
33ffb2c39a
Add which
command, add external completions, and builtin var completions ( #782 )
...
* Add which and external completions
* WIP
* Finish up external and var completions
* fix windows
2022-01-21 05:02:53 +11:00
nibon7
746641edae
Port seq
command ( #755 )
...
Signed-off-by: nibon7 <nibon7@163.com>
2022-01-17 00:52:41 +11:00
JT
fa5aab8170
Add simple stdin input command ( #754 )
...
* Add simple stdin input command
* Add binary input
* Tweak binary view
2022-01-16 15:28:28 +11:00
JT
b78924c777
Add support for load-env ( #752 )
2022-01-15 18:50:11 -05:00