version

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package version provides the version command for the UDS CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVersionCommand

func NewVersionCommand(streams iostreams.IOStreams) *cobra.Command

NewVersionCommand creates the version command.

Types

type Options

type Options struct {
	iostreams.IOStreams
}

Options holds options for the version command.

func NewOptions

func NewOptions(streams iostreams.IOStreams) *Options

NewOptions returns a new Options with default values.

func (*Options) Complete

func (o *Options) Complete(_ *cobra.Command, _ []string) error

Complete fills in options from command line args.

func (*Options) Run

func (o *Options) Run() error

Run executes the version command.

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options.

Jump to

Keyboard shortcuts

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