mjdnCmd

package
v0.2.3-0...-2933673 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Name string = "mjdn"

Name は mjdn コマンド名を定義する

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	//Embedded gofacade.Context
	*gofacade.Context
	//AppName にはアプリケーション名を格納する
	AppName string
}

Context は mjdn コマンドのコンテキストを定義する

func Command

func Command(cxt *gofacade.Context, appName string) *Context

Command は Context のインスタンスを返す

func (Context) Help

func (c Context) Help() string

Help は mjdn コマンドのヘルプを返す

func (Context) Run

func (c Context) Run(args []string) int

Run は mjdn コマンドを実行する

func (Context) Synopsis

func (c Context) Synopsis() string

Synopsis は mjdn コマンドの概要を返す

Jump to

Keyboard shortcuts

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