Fernando Herrera
267ff4b0cf
using menu trait ( #861 )
2022-01-27 07:53:23 +00:00
JT
04395ee05c
Allow equals to sep long flag and arg ( #858 )
2022-01-27 12:20:12 +11:00
JT
6f4b7efd3e
Also set $in-variable with input ( #856 )
...
* Also set in-variable with input
* Fix test
* Add more tests
2022-01-27 10:46:13 +11:00
Michael Angerman
a4421434d9
add support for Floats for sort-by ( #857 )
2022-01-26 14:44:37 -08:00
Stefan Stanciulescu
e8b8836977
Add suport for Filesize and Date for sort-by command ( #855 )
2022-01-26 13:54:31 -08:00
JT
78b5da8255
Allow let/let-env to see custom command input ( #854 )
2022-01-27 06:00:25 +11:00
JT
83ec374995
Add -c flag and others to cmdline args ( #853 )
...
* Add -c flag and others to cmdline args
* finish a little bit of cleanup
* Oops, forgot file
2022-01-26 12:26:43 -05:00
JT
8ee619954d
Start support for commandline args to nu itself ( #851 )
...
* cmdline args wip
* WIP
* redirect working
* Add help and examples
* Only show flags in signature of more than help
2022-01-27 01:42:39 +11: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
JT
1ca3e03578
Fix expanding external args ( #847 )
2022-01-26 00:11:35 +11:00
Stefan Stanciulescu
f4c0538653
Flatten records. Not thoroughly tested though ( #845 )
2022-01-25 23:07:37 +11:00
Fernando Herrera
69954a362d
history-menu ( #846 )
2022-01-25 09:39:22 +00:00
eggcaker
5c749fcc63
allow fetch command to add custom headers ( #840 )
2022-01-25 13:19:29 +11:00
JT
6e44012a2f
Fix bug in date comparison ( #842 )
2022-01-24 16:55:45 -05:00
JT
988a873466
Allow open
to read its filename from input ( #841 )
...
* Allow `open` to read its filename from input
* Add examples
2022-01-25 08:04:28 +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
62e9698b11
Allow external args to expand globs ( #839 )
...
* Allow external args to expand globs
* WIP
* A bit of cleanups and refactor to glob_from
* oops, add file
2022-01-25 05:26:56 +11:00
JT
3d0b1ef1ce
Highlight help tutor ( #838 )
...
* WIP
* Syntax highlight help, add tutor
2022-01-25 02:05:19 +11:00
JT
525ed7653f
Add var vals and alias expansions to scope var ( #837 )
...
* Add var vals and alias expansions to scope var
* Fix test
2022-01-25 01:19:38 +11:00
Michael Angerman
8a1b2d0812
fix several cases where sort-by was crashing engine-q ( #836 )
2022-01-23 20:52:19 -08:00
Darren Schroeder
d4fb95a98c
allow find to respect ls_colors ( #834 )
2022-01-24 12:23:03 +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
Stefan Stanciulescu
4e171203cc
Fix cd-ing into a file ( #831 )
...
* Add custom error for path not being a directory
* Fix cd issue with cd-ing into a file
* Keep formatting style as before
* Check if path is not a directory and return error if that's the case
2022-01-23 15:02:12 +02:00
Maxim Zhiburt
fd3eec81b5
Bump ansi-cut version to 0.2.0 ( #822 )
...
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2022-01-22 18:36:40 -05:00
Darren Schroeder
3d40e169ce
fix to retain ls_colors coloring from ls ( #824 )
...
fixes #823
2022-01-22 18:36:27 -05:00
JT
bf9340ec48
Only escape backslash on windows ( #825 )
2022-01-22 18:35:52 -05:00
JT
310ecb79b6
Add flag completions ( #817 )
2022-01-22 16:18:31 -05:00
Michael Angerman
89d852f76c
port sort_by without float (yet) ( #814 )
2022-01-22 12:49:50 -08:00
JT
af52def93c
Fix doc comments for custom commands ( #815 )
2022-01-22 13:24:47 -05:00
Darren Schroeder
6a446f708d
add hash base64
( #813 )
2022-01-22 10:23:55 -06:00
Stefan Stanciulescu
afe83104c6
Fix flatten's dropping column issue #756 ( #805 )
...
* Fix flatten's dropping column issue, and do some cleanup - better variable naming.
* Fix failing test
* Fix failing tests
2022-01-23 01:19:40 +11:00
JT
b58aad5eb0
Make external app error uniform ( #812 )
2022-01-23 01:12:34 +11: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
Eli Flanagan
e1272f3b73
lint: remove trailing whitespace ( #806 )
2022-01-22 10:29:10 +11:00
JT
6fa022b0a8
Add group-by and transpose (aka pivot) ( #803 )
2022-01-21 15:28:21 -05:00
Darren Schroeder
0ef0277882
allow use
to parse quoted paths ( #800 )
2022-01-21 13:20:13 -06:00
JT
939745ad67
Support recursive functions in capture ( #797 )
2022-01-21 11:39:55 -05:00
Fernando Herrera
846a048bba
menu-performance ( #793 )
2022-01-21 08:59:29 +00: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
91883bd572
Better help search ( #789 )
2022-01-20 18:58:58 -05:00
JT
b4e61a056c
add cd -
support ( #787 )
2022-01-21 07:51:44 +11:00
Darren Schroeder
65ef7b630b
PATH
for completions for each os (#784 )
2022-01-20 13:46:52 -05:00
JT
45b3592739
add some more division for units ( #783 )
2022-01-21 05:23:26 +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
Michael Angerman
d4b6b4b09a
update all cargo crates to edition 2021 ( #781 )
2022-01-21 00:13:45 +11:00
JT
be8c905ca7
Show error on bad config, but keep going ( #778 )
2022-01-20 03:42:12 +11:00
JT
d2d22815fb
Improve env shorthand parse ( #777 )
2022-01-20 01:58:12 +11:00
Fernando Herrera
6514a30b5d
general keybindings ( #775 )
...
* general keybindings
* get value function
* check error for keybinding
* cmd and send for keybingins
* better error message
2022-01-19 07:28:08 -06:00