nushell/crates/nu-protocol/src
Dan Davison df94052180
Declare input and output types of commands (#6796)
* Add failing test that list of ints and floats is List<Number>

* Start defining subtype relation

* Make it possible to declare input and output types for commands

- Enforce them in tests

* Declare input and output types of commands

* Add formatted signatures to `help commands` table

* Revert SyntaxShape::Table -> Type::Table change

* Revert unnecessary derive(Hash) on SyntaxShape

Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-11-10 10:55:05 +13:00
..
ast make ++ append lists (#6766) 2022-10-20 23:28:18 +13:00
engine add more helpful error for calling a decl that exists in a module (#6752) 2022-10-22 11:41:31 -05:00
value Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
cli_error.rs Clippy fix for Rust 1.63 (#6299) 2022-08-11 11:54:54 -05:00
config.rs New "display_output" hook. (#6915) 2022-11-06 13:46:40 +13:00
example.rs Start support for commandline args to nu itself (#851) 2022-01-27 01:42:39 +11:00
exportable.rs Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
id.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
lev_distance.rs Improve "Did you mean?" suggestions (#6579) 2022-09-20 19:46:01 -05:00
lib.rs Improve "Did you mean?" suggestions (#6579) 2022-09-20 19:46:01 -05:00
module.rs Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
pipeline_data.rs New "display_output" hook. (#6915) 2022-11-06 13:46:40 +13:00
shell_error.rs Friendly error message for access beyond end (#6944) 2022-10-29 19:47:50 +02:00
signature.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
span.rs Clippy fix for Rust 1.63 (#6299) 2022-08-11 11:54:54 -05:00
syntax_shape.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
ty.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
variable.rs Add support for var decl spans (#4787) 2022-03-09 04:42:19 -05:00