1
0
mirror of https://github.com/nushell/nushell.git synced 2025-03-20 18:49:09 +01:00
nushell/docs/commands/url-scheme.md
JT bff81f24aa
Autogenerate missing docs ()
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

396 B

url scheme

gets the scheme (eg http, file) of a url

Usage

> url scheme ...args {flags} 

Parameters

  • ...args: optionally operate by path

Flags

  • -h, --help: Display this help message

Examples

Get scheme of a url

> echo 'http://www.example.com' | url scheme

You get an empty string if there is no scheme

> echo 'test' | url scheme