mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
26 lines
404 B
Markdown
26 lines
404 B
Markdown
|
# url query
|
||
|
gets the query of a url
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> url query ...args {flags}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
* ...args: optionally operate by column path
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Get query of a url
|
||
|
```shell
|
||
|
> echo 'http://www.example.com/?foo=bar&baz=quux' | url query
|
||
|
```
|
||
|
|
||
|
No query gives the empty string
|
||
|
```shell
|
||
|
> echo 'http://www.example.com/' | url query
|
||
|
```
|
||
|
|