package
1.1.1
Repository: https://github.com/maruel/subcommands.git
Documentation: pkg.go.dev

# Functions

DisableLogOutput redirect log's default logger to a buffer and returns it.
MakeAppMock returns an initialized ApplicationMock.
MakeTB returns a fully initialized TB instance.
PrintIf trims the whitespace around a string encoded as []byte and prints it only if not empty.

# Structs

ApplicationMock wrap both an Application and a TB.
TB wraps a testing.T object and adds functionality specific to command_support.

# Interfaces

Application supports all of subcommands.Application and adds GetLog() for testing purposes.