{"modulePath":"github.com/mockzilla/mockzilla-codegen","version":"v1.0.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cli\n\nPackage cli is the mockzilla-codegen command line, for its own binary and for programs that run it as one of their commands. It is the only place that prints.\n\n## Constants\n\n```go\nconst (\n\tExitOK    = 0\n\tExitFail  = 1\n\tExitUsage = 2\n)\n```\nExit codes.\n\n## Types\n\n```go\ntype Command struct {\n\t// Name is what usage and messages call the program, mockzilla-codegen when empty.\n\tName   string\n\tStdout io.Writer\n\tStderr io.Writer\n}\n```\nCommand is the command line. It writes to Stdout and Stderr only.\n\n```go\nfunc (c *Command) Run(ctx context.Context, args []string) int\n```\nRun runs the command line with args, the program name left out, and returns the exit code.\n\n","path":"github.com/mockzilla/mockzilla-codegen/pkg/cli","name":"cli","synopsis":"Package cli is the mockzilla-codegen command line, for its own binary and for programs that run it as one of their commands.","isRedistributable":true}
