common

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 3 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 = "azure-nuke"

NAME of the App

View Source
var SUMMARY = "1.0.0-dev"

SUMMARY of the Version

Functions

func GetCommands

func GetCommands() []*cli.Command

GetCommands --

func RegisterCommand

func RegisterCommand(command *cli.Command)

RegisterCommand --

Types

type AppVersionInfo

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

AppVersionInfo --

var AppVersion AppVersionInfo

AppVersion --

func (*AppVersionInfo) String

func (a *AppVersionInfo) String() string

type Commander

type Commander interface {
	Execute(c *cli.Context)
}

Commander --

Jump to

Keyboard shortcuts

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