examples/

directory
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT

Directories

Path Synopsis
basic demonstrates the minimal setup for a CLI app: creating an app, registering built-in commands, and adding a custom command.
basic demonstrates the minimal setup for a CLI app: creating an app, registering built-in commands, and adding a custom command.
deploy demonstrates parent commands with subcommands.
deploy demonstrates parent commands with subcommands.
full demonstrates every framework feature: dotenv loading, default commands, shell completion, config store, subcommands, ExampleProvider, and all help formats.
full demonstrates every framework feature: dotenv loading, default commands, shell completion, config store, subcommands, ExampleProvider, and all help formats.
greet demonstrates positional args, named flags, short flags, environment variable binding, and validation rules.
greet demonstrates positional args, named flags, short flags, environment variable binding, and validation rules.
server demonstrates a CLI app that starts an HTTP server with graceful shutdown, dotenv loading, config persistence, and signal handling.
server demonstrates a CLI app that starts an HTTP server with graceful shutdown, dotenv loading, config persistence, and signal handling.

Jump to

Keyboard shortcuts

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