Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRootCmdWithInfinitySleep ¶
func NewRootCmdWithInfinitySleep( ctx context.Context, use string, shortDesc string, longDesc string, ) *cobra.Command
NewRootCmdWithInfinitySleep creates a new root cobra command with infinite sleep option. The command will sleep indefinitely when the --sleep flag is provided. This is useful for containers so the CLI can be invoked by exec commands while keeping the container running.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.