nushell/crates/nu-cli/src/menus
Ian Manske 7e1b922ea7
Add functions for each Value case (#9736)
# Description
This PR ensures functions exist to extract and create each and every
`Value` case. It also renames `Value::boolean` to `Value::bool` to match
`Value::test_bool`, `Value::as_bool`, and `Value::Bool`. Similarly,
`Value::as_integer` was renamed to `Value::as_int` to be consistent with
`Value::int`, `Value::test_int`, and `Value::Int`. These two renames can
be undone if necessary.

# User-Facing Changes
No user facing changes, but two public functions were renamed which may
affect downstream dependents.
2023-07-21 08:20:33 -05:00
..
description_menu.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
help_completions.rs Parameter defaults to $nu.scope.commands (#9152) 2023-05-11 13:59:56 -05:00
menu_completions.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
mod.rs Generic menus (#5085) 2022-04-04 15:54:48 +01:00