Darren Schroeder
a7241f9899
add seq_date
command ( #743 )
...
* add `seq_date` command
* fixed a reedline type-o
* copy-n-paste error
2022-01-14 16:07:28 -06:00
JT
ca215c1152
Add nu-system and rewrite ps command ( #734 )
...
* Add nu-system and rewrite ps command
* Add more deps
* Add more deps
* clippy
* clippy
* clippy
* clippy
* clippy
* clippy
2022-01-14 17:20:53 +11:00
JT
2b6ce4dfe5
Bump reedline again ( #732 )
2022-01-14 07:03:29 +11:00
Fernando Herrera
58c5ea4937
menu with tab ( #724 )
2022-01-12 10:57:37 +00:00
Fernando Herrera
47495715a6
context menu with nucompleter ( #722 )
2022-01-11 21:53:42 +00:00
Fernando Herrera
74fd78e02c
reedline bump ( #717 )
2022-01-11 07:21:28 +00:00
JT
7970e71bd4
bump reedline ( #712 )
2022-01-10 12:06:25 +11:00
Fernando Herrera
8a0d2b4e32
double prompt ( #686 )
...
* double prompt
* prompt env var name
2022-01-06 12:57:55 +00:00
JT
36079f1a3d
Port fetch (with fixes) ( #660 )
...
* Port fetch to engine-q
* Fix check for path as a string
* Add a timeout flag and fix some span issues
* Add a temporary fetch command that returns byte streams. Got rid of async stuff as we're using the blocking feature of tokio
* More tweaks for the bytestream
* Rewrite fetch using ByteStreams
* buffer read on bytes directly
Co-authored-by: Stefan Stanciulescu <contact@stefanstanciulescu.com>
2022-01-04 13:01:18 +11:00
JT
681e37cec6
bump reedline ( #655 )
2022-01-04 06:38:24 +11:00
JT
850f66aa9d
Fix build breakage - bump ansi term ( #651 )
...
* Fix build breakage - bump ansi term
* Remove e-q ansi term
2022-01-03 09:36:32 +11:00
JT
ac487dfcbc
Add parser tracing, fix 629 ( #638 )
2022-01-02 08:42:50 +11:00
JT
7fa1ad010b
Bump reedline, again ( #636 )
2022-01-01 16:30:59 +11:00
JT
44791b5835
Bump reedline, again ( #635 )
2022-01-01 12:27:45 +11:00
JT
15b979b06e
Bump reedline ( #634 )
2022-01-01 09:41:29 +11:00
JT
2320987862
Bump reedline ( #627 )
2021-12-31 11:36:01 +11:00
JT
62011b6bcc
Bump to 0.42 ( #4234 )
2021-12-28 20:56:59 +11:00
Darren Schroeder
0c1a7459b2
Update to the latest reedline ( #608 )
...
* update to the latest reedline
* update to latest reedline
2021-12-27 14:16:34 -06:00
Fernando Herrera
53330c5676
def argument check ( #604 )
...
* def argument check
* corrected test
* clippy error
2021-12-28 06:13:52 +11:00
nibon7
1214cd57e8
bat: use regex-onig instead of regex-fancy ( #4226 )
...
Fixes #4224
Signed-off-by: nibon7 <nibon7@163.com>
2021-12-24 08:34:59 -06:00
JT
3522bead97
Add string stream and binary stream, add text decoding ( #570 )
...
* WIP
* Add binary/string streams and text decoding
* Make string collection fallible
* Oops, forgot pretty hex
* Oops, forgot pretty hex
* clippy
2021-12-24 18:22:11 +11:00
JT
b719f8d4eb
Add missing flags to existing commands ( #565 )
...
* Add missing flags to existing commands
* fmt
2021-12-24 08:41:29 +11:00
Darren Schroeder
5c83f4d405
update to latest reedline ( #562 )
2021-12-23 13:39:54 -06:00
JT
ef59b4aa51
Some multiline fixes ( #557 )
2021-12-23 09:53:19 +11:00
JT
3389baa392
Improve multiline history ( #556 )
2021-12-23 07:44:05 +11:00
JT
43dd0960a0
Use latest history hint ( #552 )
2021-12-22 20:39:35 +11:00
JT
9fb12fefb0
Improve history hinting ( #551 )
2021-12-22 20:12:24 +11:00
Fernando Herrera
6a35e6b7b6
Dataframe commands ( #542 )
...
* 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 ( #502 )
...
* allow flatshape (command line syntax) theming
* renamed crate, organized
2021-12-16 06:17:29 -06:00
JT
17a7a85c78
Bump some deps ( #503 )
2021-12-16 20:40:05 +11:00
JT
e9525627e6
Fix a couple crlf issues ( #496 )
2021-12-15 07:17:02 +11:00
Eli Flanagan
e919f9a73b
use heck for string casing ( #4081 )
...
I removed the Inflector dependency in favor of heck for two reasons:
- to close #3674 .
- 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 ( #488 )
2021-12-14 06:54:43 +11:00
JT
1336acd34a
Seems ps still needs a delay to be accurate ( #484 )
2021-12-13 16:28:35 +11:00
Darren Schroeder
4096f52003
update templates2 ( #4200 )
2021-12-12 16:11:27 -06:00
Darren Schroeder
7ceb668419
Revert "try out title change ( #4198 )" ( #4199 )
...
This reverts commit 420aee18ca
.
2021-12-12 16:06:07 -06:00
Darren Schroeder
420aee18ca
try out title change ( #4198 )
2021-12-12 16:05:24 -06:00
Fernando Herrera
4d7dd23779
Plugin json ( #474 )
...
* 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 ( #472 )
2021-12-11 14:40:16 -06:00
Benoît Cortier
e77c6bb284
Port hash
, hash md5
and hash sha256
commands ( #464 )
...
`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
(#463 )
2021-12-10 14:46:43 -06:00
Luccas Mateus
7a892ec5d7
To html
and to md
(#453 )
...
* 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 ( #452 )
...
* 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 ( #458 )
2021-12-09 16:06:26 -06:00
Darren Schroeder
3dc19d4179
Filesize formatting ( #456 )
...
* 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 ( #455 )
2021-12-09 10:00:26 -06:00
Darren Schroeder
512dcf0988
enable cargo build --features=extra
to build plugins ( #448 )
2021-12-07 14:06:34 -06:00
JT
610e3911f6
Bump to 0.41 ( #4187 )
2021-12-08 06:21:00 +13:00
Darren Schroeder
c8b9913718
introducing gstat
, a new command to get the git status ( #443 )
...
* 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 ( #440 )
...
* 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 ( #439 )
2021-12-05 13:25:37 +00:00
JT
8cf4402e6c
Reset ansi more often when showing errors ( #425 )
2021-12-04 18:02:57 +13:00
Darren Schroeder
bef138232c
this fixes garbage ansi when externals turn off vt processing ( #422 )
...
* 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 ( #417 )
...
* 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 ( #4176 )
2021-12-03 07:05:38 +13:00
Fernando Herrera
56307553ae
Plugin with evaluated call ( #393 )
...
* 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' ( #4174 )
2021-12-02 08:48:03 +13:00
Darren Schroeder
d8c721282b
add optional footer to table ( #392 )
...
* 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 ( #387 )
...
Fixes #386
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
( #378 )
...
* 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 ( #383 )
...
* 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 ( #374 )
...
* 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
(#367 )
...
* 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 ( #364 )
2021-11-24 20:28:29 +13:00
Fernando Herrera
76019f434e
Dataframe feature ( #361 )
...
* 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 ( #353 )
...
* 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
(#352 )
...
* 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 ( #349 )
...
* 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 ( #348 )
2021-11-19 08:32:27 +13:00
JT
2590fcbe5c
Bump to 0.40 ( #4129 )
2021-11-16 21:53:03 +13:00
JT
df87d90b8c
Add 'detect columns' command ( #4127 )
...
* Add 'detect columns' command
* Fix warnings
2021-11-16 11:29:54 +13:00
Darren Schroeder
ab22619f4a
enable ls_colors for the ls
command ( #340 )
...
* enable ls_colors for the `ls` command
* added wrapping with ansi-cut so the ansi sequences don't bleed over
* clippy
2021-11-15 14:09:17 -06:00
JT
be827e5628
Fix multiword imports/exports ( #336 )
2021-11-15 08:40:26 +13:00
JT
14a2918bba
Fix some nightly clippy warnings ( #329 )
2021-11-13 13:42:13 +13:00
Luccas Mateus
db2bca56c9
from url
and from eml
(#324 )
...
* MathEval Variance and Stddev
* Fix tests and linting
* Typo
* Deal with streams when they are not tables
* FromEml and FromUrl
Added tests for from eml
2021-11-13 09:46:39 +13:00
JT
568e566adf
Add record literal syntax ( #326 )
2021-11-11 12:14:00 +13:00
Luccas Mateus
75cfee28b2
from yaml
and from yml
(#322 )
...
* MathEval Variance and Stddev
* Fix tests and linting
* Typo
* Deal with streams when they are not tables
* `from yaml` and `from yml`
`from yaml` and `from yml`
from yaml and from yml
* Fix collect_string
* Fix tests and linting
2021-11-10 14:02:33 +13:00
JT
bb1740d733
Add from csv and from tsv ( #320 )
2021-11-10 09:17:37 +13:00
JT
6f4993618d
Bump crossterm ( #315 )
2021-11-09 19:47:22 +13:00
JT
fcee3c65bd
Bump some deps ( #306 )
2021-11-08 11:09:30 +13:00
JT
00a8752c76
Move where to helper ( #302 )
2021-11-07 15:40:44 +13:00
Michael Angerman
573cb38bab
Port over the shuffle command from nushell ( #300 )
...
* initial commit of shuffle
* port the shuffle command from nushell
2021-11-07 14:19:57 +13:00
JT
d401ed64ed
Add range to the math reductions ( #296 )
2021-11-06 20:12:08 +13:00
Luccas Mateus
c7d159a0f3
Last three math commands, eval
, variance
and stddev
( #292 )
...
* MathEval Variance and Stddev
* Fix tests and linting
* Typo
2021-11-06 06:58:40 +13:00
Fernando Herrera
1d356276c2
simple inc plugin implementation
2021-11-04 22:04:21 +00:00
Fernando Herrera
12eed1f98a
plugin feature flag
2021-11-02 20:56:00 +00:00
JT
7b2116dc29
Merge pull request #270 from elferherrera/plugins
...
Plugins for engine q
2021-11-02 19:07:45 +13:00
JT
d856cebebd
Add a simple scope variable
2021-11-02 16:08:05 +13:00
Fernando Herrera
a390f66dbf
call and response serializers
2021-10-31 08:17:01 +00:00
Fernando Herrera
51e48bee53
Merge branch 'main' of https://github.com/nushell/engine-q into plugins
2021-10-28 07:12:40 +01:00
Fernando Herrera
d853127c2e
plugin crate
2021-10-28 07:12:33 +01:00
JT
bac8b8a450
Add initial ctrl-c support
2021-10-28 17:13:10 +13:00
JT
2b06ce27d3
Bump to 0.39 ( #4097 )
2021-10-27 08:36:41 +13:00
JT
5455270446
Add a simple parallel each
2021-10-26 14:30:53 +13:00
JT
df07ed5bf6
Remove debug message
2021-10-26 12:12:27 +13:00
JT
b6d269e90a
WIP
2021-10-25 17:01:02 +13:00
Luccas Mateus
72c241348b
Remove dependencies ( #4087 )
...
* fix regression
* Removed the nipper dependency
* fix linting
* fix clippy
2021-10-22 06:58:40 +13:00
JT
b322a12f58
Add more helper functions
2021-10-20 18:58:25 +13:00
JT
1b745015c3
little cleanup
2021-10-16 07:51:25 +13:00
JT
68601629c0
Fix warning
2021-10-16 07:39:36 +13:00