JT
49e8af8ea5
Bump to 0.43 ( #4264 )
2022-01-18 12:06:12 -05:00
JT
62011b6bcc
Bump to 0.42 ( #4234 )
2021-12-28 20:56:59 +11:00
JT
610e3911f6
Bump to 0.41 ( #4187 )
2021-12-08 06:21:00 +13:00
miheer vaidya
c00853a473
Seems like accessing $it outside each is not possible now ( #4000 )
2021-12-03 06:49:24 +13:00
JT
2590fcbe5c
Bump to 0.40 ( #4129 )
2021-11-16 21:53:03 +13:00
Oscar Dominguez
f94a3e15f5
Get rid of header bold option ( #4076 )
...
* refactor(options): get rid of 'header_bold' option
* docs(config): remove 'header_bold' from docs
* fix(options): replicate logic to apply true/false in bold
* style(options): apply lint fixes
2021-10-31 06:59:19 +13:00
JT
2b06ce27d3
Bump to 0.39 ( #4097 )
2021-10-27 08:36:41 +13:00
JT
e1ebd461d2
Bump to 0.28 ( #4064 )
2021-10-06 06:35:25 +13:00
JT
8581bec891
bump 0.37.1 ( #4019 )
2021-09-16 13:32:22 +12:00
JT
1d80a68f4c
bump to 0.37 ( #4006 )
2021-09-15 06:44:24 +12:00
JT
7fe05b8296
bump to 0.36.1 ( #3972 )
2021-08-27 20:48:58 +12:00
JT
991a4801b1
Bump to 0.36 ( #3963 )
2021-08-25 06:01:17 +12:00
JT
bc682066d8
Bump to 0.35 ( #3884 )
2021-08-03 20:01:09 +12:00
JT
226739d13f
Bump to 0.34.1 ( #3835 )
2021-07-25 22:58:33 +12:00
Kat Marchán
fcd624a722
add date humanize
command ( #3833 )
...
* add `date humanize` command
* add docs
2021-07-25 17:33:31 +12:00
Sertac Olgunsoylu
7401fa2fa5
Fix docs for the config variable completion_type
( #3804 )
2021-07-19 07:20:56 -05:00
JT
71f4ea9d76
Bump to 0.34.0 ( #3766 )
2021-07-14 05:57:41 +12:00
Eli Flanagan
4ed615cfcc
documentation: consistent abbreviation for URL ( #3684 )
...
I noticed `fetch`'s documentation used "URL" so wanted to do so here as
well.
2021-06-25 09:14:20 -05:00
JT
edbc828fc3
Bump to 0.33.1 ( #3671 )
2021-06-23 19:57:41 +12:00
JT
55cab9eb4f
Bump to 0.33 ( #3667 )
2021-06-22 17:22:33 +12:00
Andrés N. Robalino
2a946af81e
Support version option in Nu bin. ( #3632 )
...
Additionally we remove the little pieces that we relied on `clap` (for version number in this case).
2021-06-16 14:53:28 -05:00
Christian Menges
500683831c
from xlsx/ods: Add parameter --sheets ( #3600 )
...
* from xlsx: Add parameter --sheets
* from ods: Add parameter --sheets
2021-06-10 07:44:24 -05:00
Stefan Holderbach
31a5de973d
Fix duration literals in where
docs ( #3573 )
...
Addresses #3569
2021-06-07 15:21:31 -05:00
JT
7d78f40bf6
Bump to 0.32.1 ( #3553 )
2021-06-04 19:07:50 +12:00
Christian Menges
2486492c4d
from sqlite: Add parameter --tables ( #3529 )
...
* from sqlite: Add parameter '--tables'
* from sqlite: Enhance documentation
2021-06-01 17:06:32 -05:00
JT
df526f73be
Bump to 0.32 ( #3521 )
...
* Bump to 0.32
* Bump to 0.32
2021-06-01 08:14:50 +12:00
Christian Menges
01f1208ad1
to sqlite: Fix panic caused by empty tables ( #3522 )
2021-05-31 21:46:07 +12:00
JT
bff81f24aa
Autogenerate missing docs ( #3514 )
...
* Autogenerate missing docs
* Update ansi.md
* Rename question mark command docs
* Delete empty?.md
2021-05-30 12:57:04 +12:00
JT
2bb23c57df
Bump to 0.31.1 ( #3411 )
2021-05-12 15:06:50 +12:00
JT
25a8caa9b0
Simplify expressions ( #3389 )
...
* WIP: experiment with simpler expressions
* fix simple invoke
* update tests
* fix a few tests
* Make paren parsing more robust
* fix external args
* Remove old invocation
* Update tests
* Update tests
2021-05-12 13:01:48 +12:00
JT
48128c9db6
Bump to 0.31.0 ( #3405 )
2021-05-11 16:44:52 +12:00
JT
599c43ce04
bump to 0.30.1 ( #3348 )
2021-04-22 21:07:54 +12:00
JT
0fc9b6cfa2
Bump to 0.30 ( #3333 )
...
* Bump to 0.30
* fix test
2021-04-20 18:34:10 +12:00
Jonathan Turner
42fac722bb
Bump to 0.29.2 ( #3274 )
...
* Bump to 0.29.2
* Fix test
2021-04-07 08:14:06 +12:00
Waldir Pimenta
4bc9d9fd3b
Fix typos and capitalization of "Unicode" ( #3234 )
...
* Capitalize "Unicode"
* Fix several typos
* Fix mixed whitespace in nu-parser's tests
2021-04-04 07:14:07 +12:00
Luccas Mateus
0fe6c7c558
Mathsqrt ( #3239 )
...
* Output error when ls into a file without permission
* math sqrt
* added test to check fails when ls into prohibited dir
* fix lint
* math sqrt with tests and doc
* trigger wasm build
* Update filesystem_shell.rs
* always forgetting the linting
* fix clippy complaining
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
2021-04-01 16:26:05 -05:00
Jonathan Turner
06b154f4b2
Bump to 0.29.1 ( #3232 )
...
* Bump to 0.29.1
* fix test
2021-03-31 20:13:40 +13:00
Jonathan Turner
4faaa5310e
Bump to 0.29 ( #3230 )
...
* Bump to 0.29
* fix test
2021-03-30 22:35:21 +13:00
John-Goff
c13fe83784
Rename count
to length
( #3166 )
...
* update docs to refer to length instead of count
* rename count to length
* change all occurrences of 'count' to 'length' in tests
* format length command
2021-03-14 10:46:40 +13:00
Jonathan Turner
22ae962b57
Bump to 0.28 ( #3149 )
2021-03-09 23:40:17 +13:00
Jonathan Turner
aa6c6120f6
Bump to 0.27.2 ( #3109 )
...
* Bump to 0.27.2
* Fix clippy and test
2021-02-26 17:55:25 +13:00
Jonathan Turner
deff1aa63b
Bump to 0.27.1 ( #3073 )
2021-02-18 18:54:48 +13:00
Jonathan Turner
039f223b53
Bump to 0.27 ( #3063 )
2021-02-16 19:20:05 +13:00
ammkrn
aa564f5072
display boolean config options as true/false instead of Yes/No ( #3043 )
2021-02-11 21:50:33 +13:00
Jonathan Turner
c83aea3c89
Bump to 0.26.1 ( #3008 )
2021-02-05 19:38:04 +13:00
Leonhard Kipp
d0a2a02eea
Add possibility to declare optional parameters and switch flags ( #2966 )
...
* Add possibility to declare optional parameters and switch flags
With this commit applied it is now possible to specify optional parameters and flags
as switches. This PR **only** makes guarantees about **parsing** optional flags and
switches correctly. This PR **does not guarantee flawless functionality** of
optional parameters / switches within scripts.
functionality within scripts. Example:
test.nu
```shell
def my_command [
opt_param?
opt_param2?: int
--switch
] {echo hi nushell}
```
```shell
> source test.nu
> my_command -h
───┬─────────
0 │ hi
1 │ nushell
───┴─────────
Usage:
> my_command <mandatory_param> (opt_param) (opt_param2) {flags}
Parameters:
<mandatory_param>
(opt_param)
(opt_param2)
Flags:
-h, --help: Display this help message
--switch
--opt_flag <any>
```
* Update def docs
2021-01-28 06:31:29 +13:00
Jonathan Turner
388973e9ab
Bump to 0.26.0 ( #2974 )
2021-01-26 23:07:08 +13:00
Rust大闸蟹
088e662285
Replace git current_branch to shadow-rs branch ( #2935 )
...
* update to shadow-rs 0.4. use easy
* update shadow-rs to 0.5
* fix version not used
* update
* update Cargo.lock
* update Cargo.lock
* fix wasm build error when use dependence git2
fix error link:https://dev.azure.com/nushell/nushell/_build/results?buildId=4858&view=logs&j=1a745d4c-b027-5f34-06d8-d6f256bfe9f9&t=a0a335cb-fa1f-5bbf-be01-1a90d6899e54
* remove code not used; fix warning by RUSTFLAGS="-D warnings" build error
* upgrade shadow-rs 0.5.2
* upgrade shadow-rs 0.5.7
make nushell reduce dependence crates smaller and build fast.
* upgrade shadow-rs 0.5.8
fix when use api 'strip_prefix()' method in less than rust1.45.0 build failed
* use shadow-rs branch replace with current_branch method;
remove and reduce git dependencies.
* upgrade shadow-rs 0.5.12-pre,test build error with wasm
* upgrade Cargo.lock
* upgarde shadow-rs depencdence
* fix build error in wasm
* add clippy warning
2021-01-16 07:06:29 +13:00
Leonhard Kipp
f9b0b81eb2
Add def documentation ( #2939 )
2021-01-15 20:21:18 +13:00
Leonhard Kipp
63a62e19f9
Update alias docs ( #2925 )
2021-01-13 14:46:15 +13:00