forked from extern/nushell
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
25
docs/commands/url-scheme.md
Normal file
25
docs/commands/url-scheme.md
Normal file
@ -0,0 +1,25 @@
|
||||
# url scheme
|
||||
gets the scheme (eg http, file) of a url
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> url scheme ...args {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* ...args: optionally operate by path
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Get scheme of a url
|
||||
```shell
|
||||
> echo 'http://www.example.com' | url scheme
|
||||
```
|
||||
|
||||
You get an empty string if there is no scheme
|
||||
```shell
|
||||
> echo 'test' | url scheme
|
||||
```
|
||||
|
Reference in New Issue
Block a user