2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-24 11:27:14 +00:00
Commit graph

655 commits

Author SHA1 Message Date
Joseph T. Lyons
6eb2c94209
Add flag for case-insensitive sort-by ()
* Add flag for case-insensitive sort-by

* Fix test names

* Fix documentation comments
2020-07-21 05:31:58 +12:00
k-brk
3432078e77
Fix uniq to work with simple values () 2020-07-19 05:19:03 +12:00
Joseph T. Lyons
f26151e36d
Silence Rust 1.45 Clippy warnings ()
* Silence Rust 1.45 Clippy warnings dealing with using `map_err()`

* Silence false Clippy warning

* Fix last Clippy error for unnecessary conversion

* Fix `and_then` clippy warnings
2020-07-18 05:57:15 +12:00
Joseph T. Lyons
0934410b38
Use matches!() for true/false returning match statements () 2020-07-14 20:11:41 -04:00
Darren Schroeder
8d03cf5b02
added more verbose message to assert ()
* added more verbose message to assert

having a -h short is bad for any command since it's already used by --help.

* updated for fmt
2020-07-11 16:49:44 -05:00
Jonathan Turner
0bc2e29f99
Rename 'bytes' to 'filesize' () 2020-07-11 14:17:37 +12:00
Jonathan Turner
6820d70e7d
make duration pretty print clearer ()
* make duration pretty print clearer

* fix typo and tests

* fix typo and tests
2020-07-11 09:06:52 +12:00
Pierre-André Gagnon
e07a9e4ee7
1747 add ns to duration ()
* Added nanos to Duration

* Removed unwraps

* Added nanos to Duration

* Removed unwraps

* Fixed errors

* Removed unwraps

* Changed serialization to String

* Fixed Date and Duration comparison
2020-07-11 05:48:11 +12:00
Arash Outadi
6a89b1b010
Remove duplicate method (retag) () 2020-07-10 06:21:13 -04:00
Andrés N. Robalino
34e1e6e426
Add "move column" command. () 2020-07-06 10:27:01 -05:00
Jonathan Turner
d30c40b40e
Bump to 0.16.1 () 2020-07-06 08:12:44 +12:00
Jonathan Turner
0522023d4c
Bump to 0.16.0 () 2020-07-01 06:25:09 +12:00
Jonathan Turner
dffc9c9b1c
Properly redirect invocations ()
* Properly redirect invocations

* Don't convert with-env yet, as there's a random test failure
2020-06-28 09:04:57 +12:00
Jonathan Turner
7fed9992c9
Bump deps and touchup () 2020-06-27 19:54:31 +12:00
Jonathan Turner
4e2a4236f8
Fix it expansion and add collect () 2020-06-27 17:38:19 +12:00
Andrés N. Robalino
778e497903 Refactoring and more group-by flexibility. 2020-06-17 13:34:17 -05:00
Jonathan Turner
29ea29261d
Bump to 0.15.1 () 2020-06-15 09:54:30 +12:00
Jonathan Turner
935a5f6b9e
Another batch of removing async_stream () 2020-06-12 20:34:41 +12:00
Jonathan Turner
e5a18eb3c2
Bump to 0.15.0 () 2020-06-10 05:33:59 +12:00
Jonathan Turner
ef4eefa96a
Bump more deps () 2020-05-31 08:54:47 +12:00
Andrés N. Robalino
ad43ef08e5 Support average for tables. 2020-05-30 10:33:09 -05:00
Jonathan Turner
e2dabecc0b Make it-expansion work when in a list () 2020-05-27 20:29:05 +12:00
Jonathan Turner
fa812849b8
Fix warnings and split Scope () 2020-05-27 16:50:26 +12:00
Alexander James
aadbcf5ce8
Issue 1787 () 2020-05-23 20:08:39 -04:00
Darren Schroeder
5de30d0ae5
Tweak auto-rotate for single row output ()
* added helper to convert data to strings
added ability to auto-rotate single row output
if row will be greater than terminal width

* Added pivot_to_fit config value

* Added ColumnPath to convert_to_string helper

* Figured out I had to run `cargo fmt --all -- --check`

Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-05-22 04:30:58 +12:00
Elton Leander Pinto
8dc5c34932
Save alias ()
* figuring out error with lines

* make progress in printing of block

* support for external commands; fix some tiny bugs in formatting

* basic printing of block; going to experiment with bubbling raw input to the command itself to avoid potential edge cases

* remove fmt::Display impls for hir structs; bubbled raw_input to command args

* compiling checkpoint :)

* process raw input alias to remove save flag; do duplicates stored

* fix warnings; run clippy

* removed tmux log file

* fix bug in looking for same alias; changed unwraps to safe unwraps
2020-05-21 05:31:04 +12:00
Jason Gedge
6efabef8d3
Remove interpretation of Primitive::Nothing as the number 0. () 2020-05-18 15:18:46 -04:00
Jonathan Turner
0743b69ad5
Move from language-reporting to codespan () 2020-05-19 06:44:27 +12:00
Jason Gedge
acf13a6fcf
Add (near) automatic testing for command examples () 2020-05-18 08:56:01 -04:00
Jonathan Turner
0abc94f0c6
Bump some of our dependencies () 2020-05-17 10:34:10 +12:00
Jonathan Turner
076fde16dd
Evaluation of command arguments ()
* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Finish adding the baseline refactors for argument invocation

* Finish cleanup and add test

* Add missing plugin references
2020-05-16 15:18:24 +12:00
Jonathan Turner
196991ae1e
Bump to 0.14.1 () 2020-05-13 20:03:45 +12:00
Jonathan Turner
b2eecfb110
Bump to 0.14 () 2020-05-13 04:32:51 +12:00
Jonathan Turner
c3535b5c67
It-expansion fixes ()
* It-expansion fixes

* fix clippy
2020-05-12 15:58:16 +12:00
Jonathan Turner
42eb658c37
Add a simplified list view () 2020-05-11 14:47:27 +12:00
Andrés N. Robalino
f93ff9ec33
Make grouping more flexible. () 2020-05-09 12:15:47 -05:00
Jonathan Turner
b37e420c7c
Add with-env command () 2020-05-06 15:56:31 +12:00
Jonathan Turner
a9968046ed
Add subcommands. Switch from-* and to-* to them () 2020-05-04 20:44:33 +12:00
Andrés N. Robalino
cf53264438
Table operating commands. ()
* Table operating commands.

* Updated merge test for clarity.

* More clarity.

* Better like this..
2020-04-29 23:18:24 -05:00
Jonathan Turner
db8219e798
extend it-expansion to externals ()
* extend it-expansion to externals

* trim the carriage return for external strings
2020-04-30 07:09:14 +12:00
Jonathan Turner
73d5310c9c
make it-expansion work through blocks when necessary () 2020-04-29 19:51:46 +12:00
Jonathan Turner
8bd3cedce1
It expansion ()
* First step in it-expansion

* Fix tests

* fix clippy warnings
2020-04-27 14:04:54 +12:00
Andrés N. Robalino
80025ea684
Rows and values can be checked for emptiness. Allows to set a value if desired. () 2020-04-26 12:30:52 -05:00
Jonathan Turner
ad7a3fd908
Add not-in: operator () 2020-04-26 17:32:17 +12:00
Thomas B Homburg
716c4def03
Add key_timeout config option () 2020-04-25 05:28:38 +12:00
Jonathan Turner
d7bd77829f
Bump rustyline ()
* Bump rustyline

* Fix new clippy warnings

* Add pipeline command
2020-04-24 08:00:49 +12:00
Jonathan Turner
c7e11a5a28
bump to 0.13.0 () 2020-04-21 17:01:03 +12:00
Jonathan Turner
e4fdb36511
External vars ()
* fix empty table and missing spans

* wip

* WIP

* WIP

* working version with vars

* tidying

* WIP

* Fix external quoting issue
2020-04-21 09:45:11 +12:00
Jonathan Turner
2ffb14c7d0
fix empty table and missing spans () 2020-04-20 19:44:19 +12:00
Jonathan Turner
eec94e4016
Semicolon ()
* WIP on blocks

* Getting further

* add some tests
2020-04-20 18:41:51 +12:00