nushell/crates/nu_plugin_query/src
Bruce Weirdan 4f8d82bb88
Added support for multiple attributes to query web -a (#13256)
# Description

Allows specifying multiple attributes to retrieve from the selected
nodes. E.g. you may want to select both hrefs and targets from the list
of links:

```nushell
.... | query web --query a --attribute [href target]
```
# User-Facing Changes

`query web --attribute` previously accepted a string. Now it accepts
either a string or a list of strings.

The shape definition for this flag was relaxed temporarily, until
nushell/nushell#13253 is fixed.
2024-06-28 12:50:20 -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.rs Allow plugins to report their own version and store it in the registry (#12883) 2024-06-21 06:27:09 -05:00
query_json.rs Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
query_web.rs Added support for multiple attributes to query web -a (#13256) 2024-06-28 12:50:20 -05:00
query_xml.rs Make query xml return nodes in document order (#13047) 2024-06-05 09:47:36 +08:00
web_tables.rs update query web wiki example (#11709) 2024-02-02 09:03:28 -06:00