JT
d0cbb2d12c
Allow expanding aliases before keywords, improve hiding ( #4858 )
...
* Allow aliasing source
* Add test
* improve hiding
* Finish adding tests
* fix test
2022-03-18 11:35:50 +13:00
JT
0986eefb64
Add insert and update back ( #4864 )
2022-03-18 06:55:02 +13:00
Darren Schroeder
6e69d40bb9
some tweaks to main for testing ( #4862 )
2022-03-17 11:32:54 -05:00
Stefan Holderbach
9db356e174
Remove nu-ansi-term from the tree, use reedline 0.3 ( #4850 )
...
To simplify use of nu-ansi-term in both nushell/nushell and
nushell/reedline remove it from the workspace to have a separate
progression of version numbers.
This allows reedline to use the latest published version and nushells
workspace to use the same most recent version
Changes the `Cargo.toml`s to use reedline from crates.io
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-17 15:29:52 +13:00
Darren Schroeder
6700fbeed7
rename update
to upsert
to mirror what it really does ( #4859 )
...
* rename `update` to `upsert` to mirror what it really does
* change to latest reedline and nu-ansi-term
2022-03-16 19:13:34 -05:00
Darren Schroeder
ca12f39db3
added nu-utils
crate, fixed issue where externals turn off vt processing ( #4857 )
...
* added `nu-utils` crate, fixed issue where externals turn off vt processing
* hopefully make work in non-windows environments
* clippy
2022-03-16 17:21:06 -05:00
Charles Dixon
1a16b9a2c4
Move repl loop and command/script execution to nu_cli ( #4846 )
...
* Refactor usage of is_perf_true to be a parameter passed around
* Move repl loop and command/script execution to nu_cli
* Move config setup out of nu_cli
* Update config_files.rs
* Update main.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-17 07:17:06 +13:00
JT
0bd8664f33
Fix string interpolation escaping ( #4854 )
2022-03-16 05:09:30 +13:00
Reilly Wood
cb5d997adf
Change update help+examples for creating new columns ( #4849 )
...
* Change update help/examples for creating new column
* Enable example tests for update command
2022-03-14 15:32:33 -05:00
Justin Ma
10d805c1fa
feat: fix and update some examples ( #4844 )
2022-03-14 07:41:09 -05:00
JT
54d9fff4f2
Revert "Alias to keywords (eg source
) ( #4835 )" ( #4841 )
...
This reverts commit c023d4111a
.
2022-03-13 13:38:16 -07:00
Jakub Žádník
72daf8c64e
Fix reporting of which
and $nu.scope
( #4836 )
...
* Refactor & fix which
Instead of fetching all definitions / aliases, only show the one that is
visible.
* Fix $nu.scope to show only visible definitions
* Add missing tests file; Rename one which test
2022-03-13 21:32:46 +02:00
JT
c023d4111a
Alias to keywords (eg source
) ( #4835 )
...
* Allow aliasing source
* Add test
2022-03-13 11:30:37 -07:00
JT
ff3dffd813
Nu glob ( #4818 )
...
* Fork glob. Normalise license holder
* Fix more licenses
* unwraps
* bad doc test
2022-03-13 11:30:27 -07:00
Fernando Herrera
30bb090cd4
str to datetime dfr ( #4833 )
...
* str to datetime dfr
* change description
2022-03-13 13:53:13 +00:00
Andrew Barnes
dfffd45bcd
Streaming support for lines with raw streams ( #4832 )
2022-03-13 04:52:55 -07:00
Jakub Žádník
c73d8d5f95
Add LIB_DIRS and PLUGIN_DIRS ( #4829 )
...
* Add LIB_DIRS and PLUGIN_DIRS
* Put plugin dirs behind plugin feature
2022-03-12 22:12:15 +02:00
Darren Schroeder
0ff9cc679e
add $nu.pid
( #4828 )
2022-03-12 10:54:59 -06:00
Darren Schroeder
ccc85a2979
remove $nu.cwd
( #4824 )
2022-03-12 09:11:19 -06:00
Fernando Herrera
005301647a
equal comparisson series string ( #4823 )
2022-03-12 13:15:30 +00:00
Jakub Žádník
90b2ec537f
Do not pass non-string env vars to externals ( #4748 )
...
* Do not pass non-string env vars to externals
Also misc cleanup
* Add note to default config
* Add a test
* Ensure PATH/Path conversion list <-> string
2022-03-12 00:18:39 +02:00
Justin Ma
f3626f7c3a
Update docs for open and decode command, regenerate all docs ( #4815 )
...
* Update docs for open and decode command, regenerate all docs
* Update open.rs
* Update open.md
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-11 05:39:54 -05:00
Justin Ma
ce690ed18f
Bump sysinfo version from v0.22.2 to v0.23.5, close #3909 ( #4810 )
2022-03-10 11:38:32 -05:00
JT
2b3843c7c0
ensure exit codes in more cases ( #4804 )
2022-03-10 07:32:46 -05:00
JT
9abb14b5fd
ensure exit codes in more cases ( #4803 )
2022-03-10 06:29:23 -05:00
JT
12bf23faa6
Move completions to DeclId ( #4801 )
...
* Move completions to DeclId
* fmt
* fmt
2022-03-10 09:49:02 +02:00
Justin Ma
643cce8a6f
Mark match
as deprecated command ( #4802 )
2022-03-09 20:58:42 -06:00
JT
3bdd924349
Fixes the panic when using externs + string interpolation ( #4799 )
2022-03-09 13:01:23 -05:00
JT
be43b3c5fc
Allow passing block literals to do ( #4798 )
2022-03-09 09:56:19 -05:00
JT
355b1d9929
Simplify empty?
, improve default
( #4797 )
...
* Simplify empty?, improve default
* improve test
2022-03-09 08:46:28 -05:00
Justin Ma
0d82d7df60
Update documents for commands ( #4796 )
...
* 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 ( #4795 )
2022-03-09 08:05:03 -05:00
JT
925e9f4dcb
Allow quotes in a register
call ( #4793 )
2022-03-09 07:06:44 -05:00
JT
e0fac7bc72
Change select
to match 0.44 ( #4792 )
2022-03-09 07:05:55 -05:00
JT
fac086c826
Make reduce -n
more sensible ( #4791 )
2022-03-09 05:56:08 -05:00
JT
088d19ad47
Make date values more readable ( #4790 )
2022-03-09 05:43:04 -05:00
JT
2ac990655e
Add support for var decl spans ( #4787 )
2022-03-09 04:42:19 -05:00
Darren Schroeder
b73af3b8df
add ability to check if value does not contain something ( #4783 )
2022-03-08 09:10:01 -06:00
JT
dc0c5a9772
Revert "Make if
blocks work like a def-env ( #4656 )" ( #4782 )
...
This reverts commit 477f3be8df
.
2022-03-08 08:29:12 -05:00
JT
477f3be8df
Make if
blocks work like a def-env ( #4656 )
...
* 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 ( #4777 )
...
* Fix empty table from externals
* Fix empty table from externals
2022-03-07 20:17:33 -05:00
Darren Schroeder
35ff1076f3
add ansi escape ( #4772 )
...
* 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 ( #4770 )
2022-03-07 15:08:56 -05:00
Genna Wingert
0a95bc7e60
Add serialization for JSON and form bodies in post
( #4764 )
...
* 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 ( #4765 )
...
* 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 ( #4762 )
2022-03-07 08:39:02 -05:00
JT
4f43d75130
Simplify group/window into their own commands ( #4760 )
2022-03-06 20:01:29 -05:00
Michael Angerman
fbbbde1489
Update the Readme for the dataframe directory ( #4757 )
...
* update dataframe readme
* update df readme
2022-03-06 11:05:55 -08:00
Fernando Herrera
7701c6b1d4
added real index column to history ( #4756 )
2022-03-06 17:22:18 +00:00
Darren Schroeder
5ae5ef5146
enable to-nu to include the whole dfr if rows is not specified ( #4753 )
2022-03-06 09:04:41 -06:00