nushell/crates/nu-command/src/date
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
..
date_.rs add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
format.rs Require input for date format (#7043) 2022-11-10 11:16:14 +13:00
humanize.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
list_timezone.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
mod.rs Add 'date to-record' (#5058) 2022-04-01 21:09:30 +13:00
now.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
parser.rs Port date commands to engine-q 2021-10-31 07:54:51 +01:00
to_record.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
to_table.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
to_timezone.rs Declare input and output types of commands (#6796) 2022-11-10 10:55:05 +13:00
utils.rs Date parse refactor (#4661) 2022-02-27 20:21:46 -05:00