forked from extern/nushell
8d5165c449
# Description Added command: `url join`. Closes: #7725 # User-Facing Changes ``` Converts a record to url Search terms: scheme, username, password, hostname, port, path, query, fragment Usage: > url join Flags: -h, --help - Display the help message for this command Signatures: <record> | url join -> <string> Examples: Outputs a url representing the contents of this record > { "scheme": "http", "username": "", "password": "", "host": "www.pixiv.net", "port": "", "path": "/member_illust.php", "query": "mode=medium&illust_id=99260204", "fragment": "", "params": { "mode": "medium", "illust_id": "99260204" } } | url join Outputs a url representing the contents of this record > { "scheme": "http", "username": "user", "password": "pwd", "host": "www.pixiv.net", "port": "1234", "query": "test=a", "fragment": "" } | url join Outputs a url representing the contents of this record > { "scheme": "http", "host": "www.pixiv.net", "port": "1234", "path": "user", "fragment": "frag" } | url join ``` # Questions - Which parameters should be required? Currenlty are: `scheme` and `host`. |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |