2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
Commit graph

2446 commits

Author SHA1 Message Date
Darren Schroeder
3dc19d4179
Filesize formatting ()
* configure the format of filesize

* type-o

* removed some comments

* updated tests

* accomodated filesize_metric better, added test
2021-12-09 13:19:36 -06:00
Darren Schroeder
a8e5cb871e
optionally remove table output color () 2021-12-09 10:00:26 -06:00
pin
15e9c11849
Fix build on NetBSD () 2021-12-09 14:23:40 +02:00
kiloson
9fd680ae2b
fix: Implicit coercion of boolean false and empty value ()
Signed-off-by: closetool <c299999999@qq.com>
2021-12-09 14:19:51 +02:00
Justin
1bdcdcca70
fix: change into column_path to into column-path (breaking change) () () 2021-12-08 11:04:55 +02:00
Darren Schroeder
512dcf0988
enable cargo build --features=extra to build plugins () 2021-12-07 14:06:34 -06:00
Darren Schroeder
8d027a0617
allow decimals/floats to be formatted with precision ()
* allow decimals/floats to be formatted with precision

* better error message
2021-12-07 14:06:14 -06:00
JT
610e3911f6
Bump to 0.41 () 2021-12-08 06:21:00 +13:00
onthebridgetonowhere
11a781fc36
Add uniq command () 2021-12-07 21:47:48 +13:00
Michael Angerman
a42bbea98d
port over the prepend command from nushell () 2021-12-07 21:46:21 +13:00
Darren Schroeder
c8b9913718
introducing gstat, a new command to get the git status ()
* wip - preliminary checking

* updated to latest pluging

* i think it's all working now, except bare words

* clippy
2021-12-06 11:28:11 -06:00
Fernando Herrera
1fd26727c5
Batch of dataframe commands ()
* corrected missing shellerror type

* batch dataframe commands

* removed option to find declaration with input

* ordered dataframe folders
2021-12-06 17:09:49 +13:00
Andrew Houts
ee9eddd851
avoid unnecessary allocation () 2021-12-06 07:38:58 +13:00
JT
fdde95f675
Update clippy to check all features ()
* Update clippy to check all features

* Fix tests

* oops
2021-12-06 07:23:43 +13:00
Jae-Heon Ji
9548e5ef5b
feat(random): add random-integer and random-uuid ()
* feat(randome): add random-integer

* feat(random): add random-uuid
2021-12-06 06:22:50 +13:00
Fernando Herrera
29efbee285
corrected missing shellerror type () 2021-12-05 13:25:37 +00:00
Fernando Herrera
22469a9cb1
Improved labeled error from plugins ()
* improved labeled error from plugins

* corrected span
2021-12-05 16:11:19 +13:00
Michael Angerman
03e22b071a
port over the reject command from nushell ()
* port over reject

* add some tests to src/tests
2021-12-05 16:09:45 +13:00
Jakub Žádník
71a8eb6f8e
Add signature to $scope.commands ()
* Add signature to $scope.commands

* Change signature command column name
2021-12-04 22:01:51 +02:00
onthebridgetonowhere
c6aff972da
Cal command ()
* Add calendar (cal) command

* Move options into arguments to avoid clippy warnings

* Remove commented line

* Fix formatting issues

* Fix clippy warning
2021-12-05 06:15:03 +13:00
Jae-Heon Ji
82aa84706e
feat(random): add random-dice () 2021-12-05 06:14:24 +13:00
Fernando Herrera
8a06ea133b
removed unwraps () 2021-12-04 12:38:21 +00:00
JT
8cf4402e6c
Reset ansi more often when showing errors () 2021-12-04 18:02:57 +13:00
onthebridgetonowhere
df5ac9b71c
Port str datetime to into datetime ()
* Port str datetime to into datetime

* Fix the span issue and some other small cleanups
2021-12-04 16:41:02 +13:00
Jakub Žádník
ee45755ea9
Add canonicalization to source & use paths ()
Also added file path print to FileNotFound error
2021-12-03 21:49:11 +02:00
Jakub Žádník
405a4e58c7
Fix 'help commands'; Add 'is_custom' column ()
* Fix fetching commands; Add is_custom column

* Remove old comment
2021-12-03 20:45:29 +02:00
Fernando Herrera
f3c8d35eb7
Plugin repeated ()
* not repeated decl in file and help

* implemented heashmap for repeated

* sorted scope commands
2021-12-03 14:29:55 +00:00
JT
a28d38b05f
Try some fixes for external paths () 2021-12-03 20:40:31 +13:00
JT
574d7f6936
Add table streaming () 2021-12-03 19:15:23 +13:00
Luccas Mateus
3d8394a909
to csv and to tsv ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* ToTsv and ToCsv
2021-12-03 15:02:22 +13:00
onthebridgetonowhere
349e83abd0
Port str to-decimal to into decimal command. ()
* Port str to-decimal to into decimal command. Add also a Value::test_float function for tests only

* Add support for handling integers into decimals and fix issues with error span
2021-12-03 15:01:19 +13:00
onthebridgetonowhere
bf82417d52
Port str upcase ()
* Port str upcase

* Switch to to_uppercase to support more characters than only ASCII
2021-12-03 15:00:32 +13:00
JT
c5297d2b64
First step () 2021-12-03 12:11:25 +13:00
JT
d9bedaae2f
Fix plurals in abbrevations () 2021-12-03 10:36:54 +13:00
JT
19766556f3
Add value abbreviations () 2021-12-03 10:07:44 +13:00
onthebridgetonowhere
687fefd791
Remove Arc from Arguments () 2021-12-03 10:07:36 +13:00
JT
ccd5f59314
Update external spawn ()
* Simplify external spawn, improve arg cleaning

* Fix tests

* Fix windows test
2021-12-03 09:55:16 +13:00
JT
c08e145501
Fix clippy warnings () 2021-12-03 07:05:38 +13:00
onthebridgetonowhere
ff673ba0ba
Add the support of str to-int to the into int command () 2021-12-03 06:54:47 +13:00
JT
f57d629b55
Default prompt animations to off () 2021-12-03 06:26:23 +13:00
Jae-Heon Ji
43972db131
feat(random): add random-decimal () 2021-12-03 06:26:12 +13:00
Darren Schroeder
f2aa952e86
add back debug --raw switch ()
* add back debug --raw switch

* tweak some debug and other settings
2021-12-02 08:32:12 -06:00
JT
071066b6d9
Move prompt animation setting to config () 2021-12-02 20:10:40 +13:00
Andrew Houts
79c7b20cfd
add login shell flag () 2021-12-02 20:05:04 +13:00
JT
ac2afab40b
Fix parse error metadata () 2021-12-02 19:36:30 +13:00
Fernando Herrera
99de2b1d77
plugin path for $nu () 2021-12-02 06:35:32 +00:00
JT
45eba8b922
Introduce metadata into the pipeline () 2021-12-02 18:59:10 +13:00
Fernando Herrera
56307553ae
Plugin with evaluated call ()
* plugin trait

* impl of trait

* record and absolute path

* plugin example crate

* clippy error

* correcting cargo

* evaluated call for plugin
2021-12-02 05:42:56 +00:00
onthebridgetonowhere
2bbba3f5da
Port str trim () 2021-12-02 17:38:44 +13:00
Luccas Mateus
34e0fd622b
to url and to toml ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* ToUrl and ToToml

* Linting
2021-12-02 17:38:00 +13:00