nushell/docs/commands/url-path.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

402 B

url path

gets the path of a url

Usage

> url path ...args {flags} 

Parameters

  • ...args: optionally operate by column path

Flags

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

Examples

Get path of a url

> echo 'http://www.example.com/foo/bar' | url path

A trailing slash will be reflected in the path

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