nushell/crates/nu-command/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
..
bits Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
bytes Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
charting Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
conversions Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
core_commands Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
database Refactor ansi stripping into nu-utils functions (#6966) 2022-11-05 07:49:45 +13:00
dataframe Friendly error message for access beyond end (#6944) 2022-10-29 19:47:50 +02:00
date Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
deprecated Rename all?, any? and empty? (#6464) 2022-09-05 16:41:06 +02:00
env Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
experimental Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
filesystem Run a round of clippy --fix to fix a ton of lints (#7006) 2022-11-04 15:11:17 -05:00
filters Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
formats Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
generators Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
hash Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
math Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
misc add history session command (#6587) 2022-09-19 14:30:04 -05:00
network Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
path Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
platform Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
random update some dependencies (#6009) 2022-07-11 11:18:06 -05:00
shells Refactor shell listing related code (#6262) 2022-08-08 06:31:24 -05:00
strings Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
system Run a round of clippy --fix to fix a ton of lints (#7006) 2022-11-04 15:11:17 -05:00
viewers Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
default_context.rs add a new command to query the registry on windows (#6670) 2022-10-07 13:54:36 -05:00
example_test.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
input_handler.rs bump rust-toolchain to 1.64 (#7005) 2022-11-04 10:27:23 -05:00
lib.rs Refactor: introduce general operate commands to reduce duplicate code (#6879) 2022-10-29 16:29:46 -05:00
sort_utils.rs Make sort logic available outside sort-by (#5893) 2022-06-27 13:36:59 -04:00