Documentation ¶ Index ¶ func IsInvalidConfig(err error) bool func IsInvalidFlag(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 IsInvalidFlag ¶ func IsInvalidFlag(err error) bool IsInvalidFlag asserts invalidFlagError. func New ¶ func New(config Config) (*cobra.Command, error) Types ¶ type Config ¶ type Config struct { Logger micrologger.Logger Stderr io.Writer Stdout io.Writer } Source Files ¶ View all Source files command.go error.go flag.go runner.go Directories ¶ Show internal Expand all Path Synopsis blockplay blockplay2 fallingdaggers fiftyfive hex22 hourglass interlocking interruptions janein ladysweat modernhive nolock octolines pantheon qbert quadrat riviera shining swiss16 waves whitegold whitegold2 Click to show internal directories. Click to hide internal directories.