subcommand

command
v0.0.0-...-f2ef82b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This example demonstrates a CLI implementation with a subcommand and command line flags using the export CLI framework. When the subcommand is invoked the selected CLI widgets are demonstrated.

Try running the example with the following command

go run ./main.go widget

This example also demonstrates the verbose logging capabilities:

go run ./main.go widget -v

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL