nushell/crates/nu-command/src/strings
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
..
encode_decode Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
format Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
split Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
str_ Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
build_string.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
char_.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
detect_columns.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
parse.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
size.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00