version

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VersionVersion = func(ctx common.Context, o *versionOrchestrator) error {
	err := o.prepareFunc(o, ctx)
	if err != nil {
		return err
	}
	return o.runFunc(o, ctx)
}

Functions

func AddCommand

func AddCommand(parent cmd.AnchorCommand, createCmd NewCommandFunc) error

func NewCommand

func NewCommand(ctx common.Context, versionFunc VersionVersionFunc) *versionCmd

func NewOrchestrator

func NewOrchestrator() *versionOrchestrator

Types

type NewCommandFunc

type NewCommandFunc func(ctx common.Context, versionFunc VersionVersionFunc) *versionCmd

type VersionVersionFunc

type VersionVersionFunc func(ctx common.Context, o *versionOrchestrator) error

Jump to

Keyboard shortcuts

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