nushell/crates/nu-command
Reilly Wood 1b2916988e
Add -i flag back to get and select (#8488)
https://github.com/nushell/nushell/pull/8379 removed the `-i` flag from
`get` and `select` because the new `?` functionality covers most of the
same use cases. However, https://github.com/nushell/nushell/issues/8480
made me realize that `-i` is still useful when dealing with cell paths
in variables.

This PR re-adds the `-i` flag to `get` and `select`. It works by just
marking every member in the cell path as optional, which will behave
_slightly_ differently than `-i` used to (previously it would suppress
any errors, even type errors) but IMO that's OK.
2023-03-16 11:50:04 -07:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
proptest-regressions/format_conversions Add proptest regression (#8396) 2023-03-15 20:08:02 -07:00
src Add -i flag back to get and select (#8488) 2023-03-16 11:50:04 -07:00
tests Add -i flag back to get and select (#8488) 2023-03-16 11:50:04 -07:00
Cargo.toml Bump mockito from 0.32.5 to 1.0.0 (#8426) 2023-03-16 11:40:49 +01:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00