Darren Schroeder
e1c28cf06b
add --du
to ls
command ( #917 )
2022-02-03 13:58:32 -06:00
Darren Schroeder
2f0bbf5adb
du
command (#916 )
...
* wip on `du` command
* working
2022-02-03 11:35:06 -06:00
Darren Schroeder
0043b9da74
added defaults for colors ( #915 )
2022-02-03 07:03:47 -06:00
Stefan Holderbach
b9c2bf226f
Obligatory reedline bump ( #914 )
...
- Keybinding related improvements
- internals
- Vi insert should know more keybindings
2022-02-02 20:24:24 -05:00
JT
cc1b784e3d
Add initial nu-test-support port ( #913 )
...
* Add initial nu-test-support port
* finish changing binary name
* Oops, these aren't Windows-safe tests
2022-02-02 15:59:01 -05:00
Darren Schroeder
cbdc0e2010
Windows ps update ( #909 )
...
* query command with json, web, xml
* query xml now working
* clippy
* comment out web tests
* Initial work on query web
For now we can query everything except tables
* Support for querying tables
Now we can query multiple tables just like before, now the only thing
missing is the test coverage
* Revert "Query plugin"
* augment `ps -l` on windows to display more info
Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 15:05:26 -06:00
Darren Schroeder
004d7b5ff0
query command with json, web, xml ( #870 )
...
* query command with json, web, xml
* query xml now working
* clippy
* comment out web tests
* Initial work on query web
For now we can query everything except tables
* Support for querying tables
Now we can query multiple tables just like before, now the only thing
missing is the test coverage
* finish off
* comment out web test
Co-authored-by: Luccas Mateus de Medeiros Gomes <luccasmmg@gmail.com>
2022-02-01 12:45:48 -06:00
Fernando Herrera
ebaa584c5e
Reedline bump ( #905 )
...
* reedline bump
* reedline bump
2022-01-31 19:17:23 -05:00
Darren Schroeder
c80a15cdfe
should be inclusive ( #904 )
...
* should be inclusive
* changed tests due to spans being different
2022-01-31 17:02:36 -06:00
JT
4c9df9c7c1
Add a fallback if Windows external spawn fails ( #902 )
...
* Add a fallback if Windows external spawn fails
* Remove path workaround
* More fixes
* More fixes
* Be more flexible with error tests
2022-01-31 12:42:12 -05:00
JT
96fedb47ee
Wait on the plugin child to prevent zombies ( #901 )
2022-01-31 10:20:11 -05:00
Ashish Thapa
b1aa8f4edf
Add strftime cheatsheet for into datetime
( #869 ) ( #883 )
...
* Add strftime cheatsheet for `into datetime` (#869 )
* proper table for strftime cheatsheet of `into datetime` (#883 )
2022-01-31 07:32:35 -06:00
JT
d62716c83e
Use 'table' during internal->external ( #898 )
...
* Use 'table' during internal->external
* Preserve more of config
2022-01-31 07:52:05 -05:00
Andrés N. Robalino
def5869c1c
command(split-by) ( #897 )
2022-01-30 18:29:21 -05:00
Fernando Herrera
76a4455255
reedline bump ( #896 )
2022-01-30 22:15:34 +00: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
a51d45b99d
Ignore clippy's erroneous warnings ( #895 )
2022-01-30 16:12:41 -05:00
Access
1fd0ddb52c
Maybe solve the none bug? ( #860 )
...
* Maybe solve the none bug?
* cargo fmt
* use nothing, not string
* check at last
* I check it at last
* Use error which has span
* use not found error
* fix error
* use a empty value length?
* * Add commit about what I change and fmt
Now all test passed, but I do not know if it is right
* update the test
* check if it is nothing
* update commit
* Rename test
Co-authored-by: Jakub Žádník <kubouch@gmail.com>
2022-01-30 15:23:28 +02:00
JT
060a4b3f48
Port detect columns
( #892 )
2022-01-30 07:52:24 -05:00
Michael Angerman
95a5e9229a
add help --find to help doc ( #890 )
2022-01-30 05:54:15 -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
Michael Angerman
bffb4950c2
add in a table test with multiple columns ( #886 )
2022-01-29 09:45:16 -08:00
Darren Schroeder
dc6f1c496b
fixes process path being truncated ( #885 )
2022-01-29 08:50:48 -06:00
JT
65ae3160ca
Variables should error on use rather than value span ( #881 )
2022-01-29 08:00:48 -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
eggcaker
9450bcb90c
Update 3rd_Party_Prompts.md ( #878 )
...
`decode utf-8` not required now
2022-01-28 19:41:48 -05:00
JT
e91d8655c6
Only trim prompt ( #876 )
...
* Only trim the output for prompts
* Only remove the last newline
2022-01-28 18:22:09 -05:00
JT
4c029d2545
Automatically trim ends of stdin/stdout strings ( #874 )
2022-01-28 16:59:00 -05:00
Stefan Holderbach
c37f844644
Bump reedline ( #873 )
...
Should remove the need for manual `str find-replace -a (char newline) (char crlf)` in `PROMPT_COMMAND`
Fixes #575
2022-01-28 16:26:19 -05:00
JT
86eeb4a5e7
Fix a bad slice into erroring utf-8 buffer ( #872 )
2022-01-28 15:32:46 -05:00
JT
020ad24b25
"maybe text codec" version 2 ( #871 )
...
* Add a RawStream that can be binary or string
* Finish up updating the into's
2022-01-28 13:32:33 -05:00
Stefan Holderbach
3f9fa28ae3
Add F1-F12 key support ( #866 )
...
* Add F1-F12 key support
* Fix error reporting: keybinding parser
* Reject more than one character
2022-01-28 13:14:51 -05:00
JT
e11ac9f6f8
Harden highlighter against alias spans ( #867 )
2022-01-28 07:29:45 -05:00
JT
fd9e380a1e
Move history search to ctrl-x ( #864 )
2022-01-28 06:44:12 +11:00
Stefan Holderbach
bfb9822475
Accomodate reedline#270 ( #863 )
...
Rename `ContextMenu` to `CompletionMenu`
Supply the completer directly to the line editor
2022-01-28 05:44:35 +11:00
eggcaker
9926561dd7
Fix into datetime example parameter type ( #862 )
2022-01-28 00:06:07 +11:00
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
cdc8e67d61
Remove unused repo parts ( #4271 )
...
* Remove unused repo parts
* Update README
* cargo fmt
2022-01-26 07:31:04 +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