nushell/crates/nu-cmd-base
Ian Manske fce6146576
Refactor config updates (#13802)
# Description
This PR standardizes updates to the config through a new
`UpdateFromValue` trait. For now, this trait is private in case we need
to make changes to it.

Note that this PR adds some additional `ShellError` cases to create
standard error messages for config errors. A follow-up PR will move
usages of the old error cases to these new ones. This PR also uses
`Type::custom` in lots of places (e.g., for string enums). Not sure if
this is something we want to encourage.

# User-Facing Changes
Should be none.
2024-10-11 18:40:32 +02:00
..
src Refactor config updates (#13802) 2024-10-11 18:40:32 +02:00
Cargo.toml Bump version to 0.98.1 (#13896) 2024-09-22 12:41:44 +08:00
LICENSE [nu-cmd-base] add missing LICENSE text (#10855) 2023-10-27 15:55:03 -05:00
README.md Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00

Utilities used by the different nu-command/nu-cmd-* crates, should not contain any full Command implementations.

Internal Nushell crate

This crate implements components of Nushell and is not designed to support plugin authors or other users directly.