Documentation
¶
Overview ¶
Package common provides shared utilities for katzenpost CLI tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandlerWithUsage ¶
func ErrorHandlerWithUsage(cmd *cobra.Command) fang.ErrorHandler
ErrorHandlerWithUsage creates a custom error handler that displays error messages followed by usage help for CLI argument errors. This provides better user experience by showing both the error and how to use the command correctly.
func ExecuteWithFang ¶
ExecuteWithFang executes a cobra command using fang with standard katzenpost options. This reduces boilerplate across all CLI tools by providing a common execution pattern.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.