nushell/crates/nu-command/src/path
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
..
basename.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
dirname.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
exists.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
expand.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
join.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs path: fix error message (#6860) 2022-10-22 06:42:46 -05:00
parse.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
path_.rs Fix wrong path help message (#5698) 2022-06-02 23:00:29 +03:00
relative_to.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
split.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
type.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00