nushell/crates/nu-command/src/math
WindSoilder d01ccd5a54
add signature information when get help on one command (#7079)
* add signature information when help on one command

* tell user that one command support operated on cell paths

Also, make type output to be more friendly, like `record<>` should just be `record`

And the same to `table<>`, which should be `table`

* simplify code

* don't show signatures for parser keyword

* update comment

* output arg syntax shape as type, so it's the same as describe command

* fix string when no positional args

* update signature body

* update

* add help signature test

* fix arg output format for composed data type like list or record

* fix clippy

* add comment
2022-11-20 07:22:42 -06:00
..
abs.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
avg.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
ceil.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
eval.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
floor.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
math_.rs add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
max.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
median.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
min.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs Rename some files (#952) 2022-02-05 12:35:02 -05:00
mode.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
product.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
reducers.rs Remove unnecessary #[allow(...)] annotations (#6870) 2022-10-24 20:12:16 +02:00
round.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
sqrt.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
stddev.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
sum.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
utils.rs Revert "Add support for optional list stream output formatting (#6325)" (#6454) 2022-08-31 18:09:40 -05:00
variance.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00