package cli
import "github.com/vmware/govmomi/cli"
Index ¶
- func Alias(name string, alias string)
- func Commands() map[string]Command
- func Register(name string, c Command, unreleased ...bool)
- func Run(args []string) int
- func ShowUnreleased() bool
- type Command
- type HasFlags
Functions ¶
func Alias ¶
func Commands ¶
func Register ¶
func Run ¶
func ShowUnreleased ¶
func ShowUnreleased() bool
Types ¶
type Command ¶
type HasFlags ¶
type HasFlags interface { // Register may be called more than once and should be idempotent. Register(ctx context.Context, f *flag.FlagSet) // Process may be called more than once and should be idempotent. Process(ctx context.Context) error }
Source Files ¶
Directories ¶
- Version
- v0.48.1 (latest)
- Published
- Feb 11, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 months ago –
Tools for package owners.