Documentation ¶ Index ¶ func IsInvalidConfig(err error) bool func IsInvalidFlags(err error) bool func New(config Config) (*cobra.Command, error) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsInvalidConfig ¶ func IsInvalidConfig(err error) bool IsInvalidConfig asserts invalidConfigError. func IsInvalidFlags ¶ func IsInvalidFlags(err error) bool IsInvalidFlags asserts invalidFlagsError. func New ¶ func New(config Config) (*cobra.Command, error) Types ¶ type Config ¶ type Config struct { Logger micrologger.Logger Stderr io.Writer Stdout io.Writer BinaryName string } Source Files ¶ View all Source files command.go error.go flag.go runner.go Directories ¶ Show internal Expand all Path Synopsis gen blockplay blockplay2 fallingdaggers fiftyfive hex22 hourglass interlocking interruptions janein ladysweat modernhive nolock octolines pantheon qbert quadrat riviera shining swiss16 waves whitegold whitegold2 scaffold pattern Click to show internal directories. Click to hide internal directories.