mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Add signature to $scope.commands (#434)
* Add signature to $scope.commands * Change signature command column name
This commit is contained in:
@ -648,6 +648,10 @@ impl Value {
|
||||
Value::Float { val, span }
|
||||
}
|
||||
|
||||
pub fn boolean(val: bool, span: Span) -> Value {
|
||||
Value::Bool { val, span }
|
||||
}
|
||||
|
||||
// Only use these for test data. Span::unknown() should not be used in user data
|
||||
pub fn test_string(s: impl Into<String>) -> Value {
|
||||
Value::String {
|
||||
|
Reference in New Issue
Block a user