package
0.1.0-alpha.9
Repository: https://github.com/nexlayer/nexlayer-cli.git
Documentation: pkg.go.dev
# Functions
ErrorHandlingMiddleware adds structured error handling.
LoggingMiddleware adds logging to command execution.
NewCommandFactory creates a new command factory.
RecoveryMiddleware adds panic recovery.
# Structs
CommandConfig represents the configuration for creating a command.
CommandFactory handles the creation and configuration of cobra commands.
# Type aliases
CommandMiddleware represents a function that wraps a command's execution.
RunFunc represents a command's execution function.