command

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fragment

func Fragment(ctx *cli.Context) error

Fragment prints out the fragment part from the url

func Host

func Host(ctx *cli.Context) error

Host prints out the host part from the url

func Password

func Password(ctx *cli.Context) error

Password prints out the password part from url

func Path

func Path(ctx *cli.Context) error

Path prints out the path part from url

func PathFlags

func PathFlags() []cli.Flag

PathFlags defines flags for path subcommand

func Port

func Port(ctx *cli.Context) error

Port prints out the port from the url

func Query

func Query(ctx *cli.Context) error

Query prints out the query part from url

func QueryFlags

func QueryFlags() []cli.Flag

QueryFlags defines flags for query subcommand

func Run

func Run(ctx *cli.Context) error

Run default command and print out full url

func Scheme

func Scheme(ctx *cli.Context) error

Scheme prints out the scheme part from the url

func User

func User(ctx *cli.Context) error

User prints out the user part from url

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL