cmd

package
v0.0.0-...-cd6e81f Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() *cli.Command

Create provides the sub-command to create redirect patterns.

func Handle

func Handle(c *cli.Context, fn HandleFunc) error

Handle wraps the command function handler.

func List

func List() *cli.Command

List provides the sub-command to list redirect patterns.

func Remove

func Remove() *cli.Command

Remove provides the sub-command to reove redirect patterns.

func Server

func Server() *cli.Command

Server provides the sub-command to start the server.

func Show

func Show() *cli.Command

Show provides the sub-command to show redirect patterns.

func Update

func Update() *cli.Command

Update provides the sub-command to update redirect patterns.

Types

type HandleFunc

type HandleFunc func(c *cli.Context, s store.Store) error

HandleFunc is the real handle implementation.

Jump to

Keyboard shortcuts

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