Skip to content
Command line URL manipulation tool
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
go.mod
go.sum
main.go

README.md

urlcat

Go Report Card

urlcat is a command line tool for extracting bits and pieces out of URLs

Installation

Make sure you have Go installed.

go install github.com/aquilax/urlcat

Usage

$ urlcat --help
NAME:
   urlcat - url processing tool. Reads line separated

USAGE:
    [global options] command [command options] [arguments...]

VERSION:
   1.0.0

DESCRIPTION:
   Reads Line separated URL's from stdin and returns the requested segment

COMMANDS:
     filename, f   returns the filename (default)
     extension, e  returns the file extension
     host, h       Returns the host
     scheme, s     Returns the URL scheme
     query, q      Returns the query string
     help, h       Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

License

MIT

You can’t perform that action at this time.