nushell/crates/nu_plugin_query/src
Darren Schroeder 365f5954ee
restore query web --as-table to working order (#12693)
# Description

This PR fixes a problem introduced with PR
https://github.com/nushell/nushell/pull/12236. That PR accidentally
stopped `--as-table` from working.

Closes https://github.com/nushell/nushell/issues/12689

It works again.

![image](https://github.com/nushell/nushell/assets/343840/b517507f-6b92-4e39-a389-5c69907d77c0)

# 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` to
check that you're using the standard code style
- `cargo test --workspace` to check that all tests pass (on Windows make
sure to [enable developer
mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging))
- `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.
-->
2024-04-28 04:21:26 -05:00
..
lib.rs Reorganize plugin API around commands (#12170) 2024-03-14 16:40:02 -05:00
main.rs Add support for engine calls from plugins (#12029) 2024-03-09 11:26:30 -06:00
query_json.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
query_web.rs restore query web --as-table to working order (#12693) 2024-04-28 04:21:26 -05:00
query_xml.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
query.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
web_tables.rs update query web wiki example (#11709) 2024-02-02 09:03:28 -06:00