nushell/crates/nu-command
Devyn Cairns 931f522616
Support into string for custom values (#12231)
Context: @abusch is working on a semver plugin with custom values and
wants users to be able to convert them back to strings

# Description
This allows `into string` to work on custom values if their base value
representation could be converted into a string with the same rules.

# User-Facing Changes
`into string` works on custom values.

Unfortunately, I couldn't really demo this with an example, because
there aren't any custom values that can be represented that way
included.

# Tests + Formatting
I was able to write a test using the custom values plugin.

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
2024-03-19 11:00:22 +01:00
..
src Support into string for custom values (#12231) 2024-03-19 11:00:22 +01:00
tests Adjust permissions using umask in mkdir (#12207) 2024-03-14 16:43:42 -05:00
Cargo.toml Adjust permissions using umask in mkdir (#12207) 2024-03-14 16:43:42 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00