nushell/crates/nu-command/src
Darren Schroeder 0786ddddbd
allow help to return a Type::Table (#10082)
# Description

This PR changes the signature of the `help` command so that it can
return a `Type::Table`.

closes #10077 

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# Tests + Formatting
<!--
Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- -c "use std testing; testing run-tests --path
crates/nu-std"` to run the tests for the standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2023-08-21 07:46:44 -05:00
..
bytes move 'bytes' back to commands (#10051) 2023-08-19 22:43:53 +02:00
charting Categorification: move commands histogram and version out of the default category (#9946) 2023-08-07 09:23:53 -07:00
conversions try and fix into datetime to accept more dt formats (#10063) 2023-08-20 07:32:48 -05:00
database handle sqlite tables better by surrounding with brackets (#9752) 2023-07-20 11:20:56 -05:00
date enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
debug Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
env Recursively export constants from modules (#10049) 2023-08-20 14:51:35 +02:00
experimental Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
filesystem Fix wrong path expansion in save (#10046) 2023-08-18 20:45:10 +03:00
filters enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
formats Categorification: graduate nuon --- from the experimental category to the formats category (#9932) 2023-08-07 05:09:44 +12:00
generators Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
hash Fix signatures for cellpath access of records (#9793) 2023-07-26 23:13:57 +02:00
help allow help to return a Type::Table (#10082) 2023-08-21 07:46:44 -05:00
math Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
misc REFACTOR: move source out of deprecated commands (#9060) 2023-05-04 00:02:03 +02:00
network Make http -f display the request headers. Closes #9912 (#10022) 2023-08-17 09:19:10 -05:00
path Remove potential panic from path join (#10012) 2023-08-16 10:27:36 +03:00
platform enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
random Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
removed Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00
shells Fix usage for the exit command. (#9450) 2023-06-16 10:09:02 +02:00
strings enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
system Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00
viewers nu-table/ Add table.indent configuration (#9983) 2023-08-11 08:37:16 -05:00
default_context.rs move 'bytes' back to commands (#10051) 2023-08-19 22:43:53 +02:00
example_test.rs enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
hook.rs Recursively export constants from modules (#10049) 2023-08-20 14:51:35 +02:00
lib.rs move 'bytes' back to commands (#10051) 2023-08-19 22:43:53 +02:00
progress_bar.rs cp progress bar implementation (#8012) 2023-02-22 11:57:38 -08:00
sort_utils.rs Support passing an empty list to sort, uniq, sort-by, and uniq-by (issue #5957) (#8669) 2023-03-29 19:55:38 -07:00