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

733 commits

Author SHA1 Message Date
JT
b719f8d4eb
Add missing flags to existing commands ()
* Add missing flags to existing commands

* fmt
2021-12-24 08:41:29 +11:00
Darren Schroeder
5c83f4d405
update to latest reedline () 2021-12-23 13:39:54 -06:00
JT
ef59b4aa51
Some multiline fixes () 2021-12-23 09:53:19 +11:00
JT
3389baa392
Improve multiline history () 2021-12-23 07:44:05 +11:00
JT
43dd0960a0
Use latest history hint () 2021-12-22 20:39:35 +11:00
JT
9fb12fefb0
Improve history hinting () 2021-12-22 20:12:24 +11:00
Fernando Herrera
6a35e6b7b6
Dataframe commands ()
* groupby object

* aggregate command

* eager commands

* rest of dataframe commands
2021-12-22 05:32:09 +11:00
Darren Schroeder
9a864b5017
allow flatshape (command line syntax) theming ()
* allow flatshape (command line syntax) theming

* renamed crate, organized
2021-12-16 06:17:29 -06:00
JT
17a7a85c78
Bump some deps () 2021-12-16 20:40:05 +11:00
JT
e9525627e6
Fix a couple crlf issues () 2021-12-15 07:17:02 +11:00
Eli Flanagan
e919f9a73b
use heck for string casing ()
I removed the Inflector dependency in favor of heck for two reasons:
- to close .
- heck seems simpler and actively maintained

We could probably alter the structure of the `str_` module to expose the
individual casing behaviors better.
I did not feel as confident on changing those signatures.

So I took a lazier approach of a macro in the `mod.rs` that creates the public
shimming function to heck's traits.
2021-12-14 09:43:48 -06:00
JT
673fe2b56a
Bump to use latest git reedline () 2021-12-14 06:54:43 +11:00
JT
1336acd34a
Seems ps still needs a delay to be accurate () 2021-12-13 16:28:35 +11:00
Darren Schroeder
4096f52003
update templates2 () 2021-12-12 16:11:27 -06:00
Darren Schroeder
7ceb668419
Revert "try out title change ()" ()
This reverts commit 420aee18ca.
2021-12-12 16:06:07 -06:00
Darren Schroeder
420aee18ca
try out title change () 2021-12-12 16:05:24 -06:00
Fernando Herrera
4d7dd23779
Plugin json ()
* json encoder

* thread to pass messages

* description for example
2021-12-12 11:50:35 +00:00
Darren Schroeder
f8e6620e48
tweak version output as a list vs table () 2021-12-11 14:40:16 -06:00
Benoît Cortier
e77c6bb284
Port hash, hash md5 and hash sha256 commands ()
`hash` by itself is only printing the help message.

The other two are simply using the same generic implementation.
2021-12-10 17:14:28 -06:00
Luccas Mateus
95841e3489
to xml and to yaml () 2021-12-10 14:46:43 -06:00
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
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
512dcf0988
enable cargo build --features=extra to build plugins () 2021-12-07 14:06:34 -06:00
JT
610e3911f6
Bump to 0.41 () 2021-12-08 06:21:00 +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
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
JT
8cf4402e6c
Reset ansi more often when showing errors () 2021-12-04 18:02:57 +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
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
c08e145501
Fix clippy warnings () 2021-12-03 07:05:38 +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
JT
89cbfd758d
Remove 'arboard' () 2021-12-02 08:48:03 +13:00
Darren Schroeder
d8c721282b
add optional footer to table ()
* add optional footer to table

* missed a draw_table
2021-12-01 13:20:23 -06:00
Stefan Holderbach
3916ac4165
Fix busy poll with reedline ()
Fixes 

Makes the changes to accept https://github.com/nushell/reedline/pull/188

Change CLI option EQ_PROMPT_ANIMATE_MS to binary EQ_PROMPT_ANIMATE
2021-11-30 09:59:54 -06:00
Darren Schroeder
ce4d9dc7c6
allow icons to be used in grid -c ()
* add icons to grid output. still needs cleanup

* working but adds a dependency on ansi_term - need to fix that

* update styling, added lots of green code to icons

* clippy

* add config point for grid icons
2021-11-29 14:37:09 -06:00
Luccas Mateus
414ed4877a
From ssv from xml ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* From xml and from ssv

* linting
2021-11-30 08:22:13 +13:00
Fernando Herrera
c8b16c14d5
Option to replace command same name ()
* option to replace command same name

* moved order of custom value declarations

* arranged dataframe folders and objects

* sort help commands by name

* added dtypes function for debugging

* corrected name for dataframe commands

* command names using function
2021-11-28 19:35:02 +00:00
Luccas Mateus
8043516d75
from vcf from ics and from ini ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* `from toml` command

* From ods

* From XLSX

* From ics

* From ini

* From vcf

* Forgot a eprintln!
2021-11-26 06:10:56 +13:00
JT
6a1942b18f
Update reedline for multiline prompt () 2021-11-24 20:28:29 +13:00
Fernando Herrera
76019f434e
Dataframe feature ()
* custom value trait

* functions for custom value trait

* custom trait behind flag

* open dataframe command

* command to-df for basic types

* follow path for dataframe

* dataframe operations

* dataframe not default feature

* custom as default feature

* corrected examples in command
2021-11-23 08:14:40 +00:00
Darren Schroeder
250743f60f
add coloring by primitive, bring in nu-ansi-term crate ()
* add coloring by primitive, bring in nu-ansi-term crate

* clippy
2021-11-20 07:12:35 -06:00
Luccas Mateus
00aac850fd
from xlsx from ods and from toml ()
* MathEval Variance and Stddev

* Fix tests and linting

* Typo

* Deal with streams when they are not tables

* `from toml` command

* From ods

* From XLSX
2021-11-20 08:23:35 +13:00
Fernando Herrera
88988dc9f4
Plugins signature load ()
* saving signatures to file

* loading plugin signature from file

* is_plugin column for help command
2021-11-19 15:51:42 +13:00
JT
aa7226d5f6
Expand globs and filepaths () 2021-11-19 08:32:27 +13:00
JT
2590fcbe5c
Bump to 0.40 () 2021-11-16 21:53:03 +13:00
JT
df87d90b8c
Add 'detect columns' command ()
* Add 'detect columns' command

* Fix warnings
2021-11-16 11:29:54 +13:00