mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 20:03:54 +01:00
21 lines
295 B
Markdown
21 lines
295 B
Markdown
|
# url host
|
||
|
gets the host of a url
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> url host ...args {flags}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
* ...args: optionally operate by column path
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Get host of a url
|
||
|
```shell
|
||
|
> echo 'http://www.example.com/foo/bar' | url host
|
||
|
```
|
||
|
|