version

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct{}

Cmd implements the version subcommand of the open2opaque tool.

func Command

func Command() *Cmd

Command returns an initialized Cmd for registration with the subcommands package.

func (*Cmd) Execute

func (cmd *Cmd) Execute(ctx context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

Execute implements subcommand.Command.

func (*Cmd) Name

func (*Cmd) Name() string

Name implements subcommand.Command.

func (*Cmd) SetFlags

func (*Cmd) SetFlags(*flag.FlagSet)

SetFlags implements subcommand.Command.

func (*Cmd) Synopsis

func (*Cmd) Synopsis() string

Synopsis implements subcommand.Command.

func (*Cmd) Usage

func (*Cmd) Usage() string

Usage implements subcommand.Command.

Jump to

Keyboard shortcuts

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