mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00:00
b6d31e0e45
related to - https://github.com/nushell/nushell/pull/10456 # Description this PR will fix the public API of the standard library by removing the type annotations from public boolean switches. 1. the signature before ```nushell clip [--silent: bool, --no-notify: bool, --no-strip: bool, --expand (-e): bool, --codepage (-c): int] ``` 2. the signature after ```nushell clip [--silent, --no-notify, --no-strip, --expand (-e), --codepage (-c): int] ``` # User-Facing Changes ### before ```nushell > "foo" | clip Error: nu:🐚:cant_convert × Can't convert to bool. ╭─[NU_STDLIB_VIRTUAL_DIR/std/mod.nu:148:1] 148 │ $in 149 │ | if $expand { table --expand } else { table } · ───┬─── · ╰── can't convert nothing to bool 150 │ | into string ╰──── ``` ### after ```nushell > "foo" | clip foo saved to clipboard ``` # Tests + Formatting # After Submitting |
||
---|---|---|
.. | ||
assert.nu | ||
dirs.nu | ||
dt.nu | ||
formats.nu | ||
help.nu | ||
input.nu | ||
iter.nu | ||
log.nu | ||
math.nu | ||
mod.nu | ||
testing.nu | ||
xml.nu |