nushell.github.io icon indicating copy to clipboard operation
nushell.github.io copied to clipboard

Improve documentation for def/custom command definition

Open generic-github-user opened this issue 3 years ago • 0 comments

Some of the examples from the page on custom commands may be worth adapting to help provide more comprehensive usage information in the documentation on the def statement; particularly those covering subcommand definitions, parameter types, default parameter values, etc. The command description itself and parameter information could probably also be made more thorough. I'll put together a PR to this effect and you can decide whether it would be beneficial to integrate into the documentation.

generic-github-user avatar Sep 05 '22 17:09 generic-github-user