forked from extern/nushell
1b2916988e
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. |
||
---|---|---|
.. | ||
assets | ||
proptest-regressions/format_conversions | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |