common

package
v0.1.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BRANCH = "dev"

BRANCH of the Version

View Source
var COMMIT = "dirty"
View Source
var NAME = "guppi"

NAME of the App

View Source
var SUMMARY = "v0.1.1-beta.2" // x-release-please-version

SUMMARY of the Version

View Source
var VERSION = "0.1.1-beta.2" // x-release-please-version

VERSION of Release

Functions

func Before

func Before(ctx context.Context, c *cli.Command) (context.Context, error)

func Flags

func Flags() []cli.Flag

func GetCommands

func GetCommands() []*cli.Command

GetCommands retrieves all commands assigned to the main group

func RegisterCommand

func RegisterCommand(command *cli.Command)

RegisterCommand allows you to register a command under the main group

Types

type AppVersionInfo

type AppVersionInfo struct {
	Name    string
	Version string
	Branch  string
	Summary string
	Commit  string
}

AppVersionInfo --

var AppVersion AppVersionInfo

AppVersion --

Jump to

Keyboard shortcuts

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