Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExitCodeOK int = 0 ExitCodeError int = 1 + iota )
Exit codes are int values that represent an exit code for a particular error.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeCommand ¶
type DecodeCommand struct { Meta Name string Reader io.Reader Writer io.Writer ErrorWriter io.Writer }
func (*DecodeCommand) Help ¶
func (c *DecodeCommand) Help() string
func (*DecodeCommand) Run ¶
func (c *DecodeCommand) Run(args []string) int
func (*DecodeCommand) Synopsis ¶
func (c *DecodeCommand) Synopsis() string
type EncodeCommand ¶
type EncodeCommand struct { Meta Name string Reader io.Reader Writer io.Writer ErrorWriter io.Writer }
func (*EncodeCommand) Help ¶
func (c *EncodeCommand) Help() string
func (*EncodeCommand) Run ¶
func (c *EncodeCommand) Run(args []string) int
func (*EncodeCommand) Synopsis ¶
func (c *EncodeCommand) Synopsis() string
type VersionCommand ¶
func (*VersionCommand) Help ¶
func (c *VersionCommand) Help() string
func (*VersionCommand) Run ¶
func (c *VersionCommand) Run(args []string) int
func (*VersionCommand) Synopsis ¶
func (c *VersionCommand) Synopsis() string
Click to show internal directories.
Click to hide internal directories.