nushell/crates/nu-command/src/bytes
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
..
add.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
at.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
build_.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
bytes_.rs add bytes root command (#5956) 2022-07-06 16:46:56 +12:00
collect.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
ends_with.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
index_of.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
length.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs Refactor: introduce general operate commands to reduce duplicate code (#6879) 2022-10-29 16:29:46 -05:00
remove.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
replace.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
reverse.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
starts_with.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00