2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 04:33:38 +00:00
Commit graph

878 commits

Author SHA1 Message Date
Luccas Mateus
7a892ec5d7
To html and to md ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* First draft of these commands

* To MD

* To md and to html

* Fixed cargo and to_md

* `into_abbreviated_string` instead of `into_string`

* Changed how inner tables are displayed
2021-12-09 19:16:35 -06:00
Fernando Herrera
865906e450
Dataframe commands name ()
* corrected missing shellerror type

* batch dataframe commands

* removed option to find declaration with input

* ordered dataframe folders

* dataframe command name
2021-12-09 18:17:11 -06:00
Michael Angerman
7319b6b168
port over the nth command from nushell ()
* port over the nth command from nushell

* remove a line of redundant code

* must sort the rows or else if the rows are not from low to high this crashes engine-q
2021-12-09 18:16:04 -06:00
Jae-Heon Ji
c3b6e07de6
Port network/url command ()
* feat: add url command

* feat(network/url): add sub-command for url
2021-12-09 18:09:30 -06:00
Darren Schroeder
5c27ffa42e
update to latest reedline, change config point name, enable output without ansi () 2021-12-09 16:06:26 -06:00
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
Darren Schroeder
a7a213b3f2
add default-run so cargo r works () 2021-12-08 05:09:12 -06: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
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
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
JT
ddd8c3d9dc
Improve running main () 2021-12-05 07:02:53 +13: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
JT
3e0c5e55b6
Add simple commandline args for scripts () 2021-12-05 06:06:17 +13:00
Fernando Herrera
8a06ea133b
removed unwraps () 2021-12-04 12:38:21 +00:00
JT
eed22605ef
Fix the failure if the prompt breaks () 2021-12-04 18:24:38 +13: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
Darren Schroeder
bef138232c
this fixes garbage ansi when externals turn off vt processing ()
* this fixes garbage ansi when externals turn off vt processing

* clippy

* changes are only for windows

* type-o
2021-12-03 13:49:25 -06: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
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
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