nushell/crates
Corvus Corax a5c5b4e711 Add --help for commands (#1226)
* WIP --help works for PerItemCommands.

* De-linting

* Add more comments (#1228)

* Add some more docs

* More docs

* More docs

* More docs (#1229)

* Add some more docs

* More docs

* More docs

* Add more docs

* External commands: wrap values that contain spaces in quotes (#1214) (#1220)

* External commands: wrap values that contain spaces in quotes (#1214)

* Add fn's argument_contains_whitespace & add_quotes (#1214)

*  Fix formatting with cargo fmt

* Don't wrap argument in quotes when $it is already quoted (#1214)

* Implement --help for internal commands

* Externals now spawn independently. (#1230)

This commit changes the way we shell out externals when using the `"$it"` argument. Also pipes per row to an external's stdin if no `"$it"` argument is present for external commands. 

Further separation of logic (preparing the external's command arguments, getting the data for piping, emitting values, spawning processes) will give us a better idea for lower level details regarding external commands until we can find the right abstractions for making them more generic and unify within the pipeline calling logic of Nu internal's and external's.

* Poll externals quicker. (#1231)

* WIP --help works for PerItemCommands.

* De-linting

* Implement --help for internal commands

* Make having --help the default

* Update test to include new default switch

Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
Co-authored-by: Koenraad Verheyden <mail@koenraadverheyden.com>
Co-authored-by: Andrés N. Robalino <andres@androbtech.com>
2020-01-18 11:46:18 +13:00
..
nu_plugin_average Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_binaryview Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_fetch Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_inc Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_match Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_post Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_ps Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_str Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_sum Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_sys Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_textview Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu_plugin_tree Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu-build Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu-errors Add some comments (#1225) 2020-01-14 20:38:56 +13:00
nu-macros Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu-parser Add --help for commands (#1226) 2020-01-18 11:46:18 +13:00
nu-plugin Bump to 0.8.0 (#1166) 2020-01-07 20:08:31 +13:00
nu-protocol Add --help for commands (#1226) 2020-01-18 11:46:18 +13:00
nu-source Bump some of our dependencies (#1234) 2020-01-18 09:35:48 +13:00
nu-test-support Externals now spawn independently. (#1230) 2020-01-16 04:05:53 -05:00
nu-value-ext Allow ColumnPaths when picking tables. (#1191) 2020-01-11 01:45:09 -05:00