2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-14 04:58:37 +00:00
Commit graph

2991 commits

Author SHA1 Message Date
Justin Ma
643cce8a6f
Mark match as deprecated command () 2022-03-09 20:58:42 -06:00
JT
3bdd924349
Fixes the panic when using externs + string interpolation () 2022-03-09 13:01:23 -05:00
JT
be43b3c5fc
Allow passing block literals to do () 2022-03-09 09:56:19 -05:00
JT
355b1d9929
Simplify empty?, improve default ()
* Simplify empty?, improve default

* improve test
2022-03-09 08:46:28 -05:00
Justin Ma
0d82d7df60
Update documents for commands ()
* Update documents of commands

* Change plugin names for register command examples

* Remove unused docs [ci skip]
2022-03-09 08:05:35 -05:00
JT
8fcf51908a
Fix expansion of row condition implied it () 2022-03-09 08:05:03 -05:00
JT
925e9f4dcb
Allow quotes in a register call () 2022-03-09 07:06:44 -05:00
JT
e0fac7bc72
Change select to match 0.44 () 2022-03-09 07:05:55 -05:00
JT
fac086c826
Make reduce -n more sensible () 2022-03-09 05:56:08 -05:00
JT
088d19ad47
Make date values more readable () 2022-03-09 05:43:04 -05:00
JT
2ac990655e
Add support for var decl spans () 2022-03-09 04:42:19 -05:00
Darren Schroeder
b73af3b8df
add ability to check if value does not contain something () 2022-03-08 09:10:01 -06:00
JT
dc0c5a9772
Revert "Make if blocks work like a def-env ()" ()
This reverts commit 477f3be8df.
2022-03-08 08:29:12 -05:00
JT
477f3be8df
Make if blocks work like a def-env ()
* Make `if` work like a def-env

* Add some tests

* Add an example
2022-03-08 07:45:47 -05:00
JT
299fea8538
Fix external extra ()
* Fix empty table from externals

* Fix empty table from externals
2022-03-07 20:17:33 -05:00
Darren Schroeder
35ff1076f3
add ansi escape ()
* add ansi escape

* also add the ability to escape parens

* add a few more escapes that could be problematic for the nushell lang
2022-03-07 16:39:16 -06:00
JT
1837bf775c
Default values () 2022-03-07 15:08:56 -05:00
Genna Wingert
0a95bc7e60
Add serialization for JSON and form bodies in post ()
* Add serialization for JSON and form bodies in `post`

* Reuse code from `to json` instead of duplicating

* Fix formatting. Oops
2022-03-07 10:49:45 -06:00
JT
a2723c2ba4
Fix rest parsing ()
* More nuon tests, fix table print

* Fix rest type parsing
2022-03-07 11:44:27 -05:00
JT
0b6b321ad6
More nuon tests, fix table print () 2022-03-07 08:39:02 -05:00
JT
4f43d75130
Simplify group/window into their own commands () 2022-03-06 20:01:29 -05:00
Michael Angerman
fbbbde1489
Update the Readme for the dataframe directory ()
* update dataframe readme

* update df readme
2022-03-06 11:05:55 -08:00
Fernando Herrera
7701c6b1d4
added real index column to history () 2022-03-06 17:22:18 +00:00
Darren Schroeder
5ae5ef5146
enable to-nu to include the whole dfr if rows is not specified () 2022-03-06 09:04:41 -06:00
Genna Wingert
4aa9a18c63
Allow save to accept a list of strings () 2022-03-05 15:56:04 -06:00
Genna Wingert
1527b34d9c
Add back --append flag to save command () 2022-03-05 13:36:58 -06:00
JT
a4a8f5df54
Add more multiline pipeline forms () 2022-03-05 08:20:13 -05:00
JT
9c17c73d5f
Add more exit code support () 2022-03-04 17:46:18 -05:00
Darren Schroeder
5b3cc73ac6
remove the hard coded escaping from split row and split column () 2022-03-04 15:09:35 -06:00
Darren Schroeder
fbb2e7136c
match is now in the find command () 2022-03-04 11:29:45 -06:00
JT
e64ca97fe2
move scope variable into nu variable () 2022-03-04 11:36:11 -05:00
JT
eef3de2d05
Move old plugins () 2022-03-04 09:36:03 -05:00
Justin Ma
1157fcf372
fix typo, update some examples and regenerate docs () 2022-03-04 06:10:09 -06:00
Genna Wingert
47d5501f9f
Add aliases to command completions () 2022-03-03 15:07:13 -05:00
Genna Wingert
97b3e4a233
Fix aliases to known externals () 2022-03-03 14:05:55 -05:00
Daniel Reilly
52f4c4ba7e
Adds tab indentation option for JSON files. () 2022-03-03 13:15:13 -05:00
JT
7d0531d270
Add support for escape characters, make nuon a JSON superset ()
* WIP

* Finish adding escape support in strings

* Try to fix windows
2022-03-03 13:14:03 -05:00
Genna Wingert
13f2048ffb
Add completion options for custom completions ()
* Add completion options for custom completions

* Make clippy happy

* Refactor options for clarity

* Make return type of filtering explicit
2022-03-03 09:45:35 -05:00
Yutaro Ohno
210d25f2a0
Add into duration ()
* Add `into duration` command

* Avoid using unwrap()

* Use existing logic to parse duration strings
2022-03-03 08:16:04 -05:00
Fernando Herrera
2fd42d25b1
partial completions () 2022-03-03 11:13:44 +02:00
Jakub Žádník
d90b7953dd
Use Nushell's PATH in which ()
* Make which use our path instead of std::env

* Unignore which test

* Fix wrong fn signature without which feature
2022-03-03 10:38:31 +02:00
JT
96a1bf5f8d
Experiment: Allow both $true/true and $false/false ()
* Change true/false to keywords

* oops, clippy

* Both kinds of bools

* Add in some boolean variables

* disable py virtualenv test for now
2022-03-02 19:55:03 -05:00
JT
fd88920a9d
Make sure we have text before json parse () 2022-03-02 15:58:56 -05:00
JT
88d7b50e37
Pass redirects into call ()
* Pass redirects into call

* Oops, format
2022-03-02 07:52:24 -05:00
JT
4965f4cbf4
Bump to 0.59.1 () 2022-03-01 16:55:51 -05:00
Justin Ma
42f1874a3a
Update some examples and docs ()
* Update some examples and docs

* Update now.rs

* Update date_now.md

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-01 08:05:29 -05:00
JT
2a89936bee
Move to latest stable crossterm, with fix () 2022-03-01 07:05:46 -05:00
Fernando Herrera
ece5e7dbb7
dataframe list command () 2022-03-01 06:41:13 -05:00
JT
a6a96b29cb
Add binary literals () 2022-02-28 18:31:53 -05:00
JT
cb5c61d217
Fix open ended ranges ()
* Make open ended ranges more open ended

* Add test
2022-02-28 11:15:31 -05:00