mirror of
https://github.com/nushell/nushell.git
synced 2024-12-28 09:59:36 +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
|
||
|
```
|
||
|
|