common

package
v0.0.0-...-0bfb337 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Filename = "sans-integrity.yml"
View Source
const FilenameSigned = "sans-integrity.yml.gpg"
View Source
const GetFirstDirectory = "get_first"
View Source
const NameFormat = `\d{3}[A-Z]?.\d{2}.\d[A-Z]?`

Variables

View Source
var BRANCH = "main"

BRANCH of the Version

View Source
var IgnoreAlways = []string{
	Filename,
	FilenameSigned,
}
View Source
var IgnoreOnCreate = []string{
	".DS_Store",
	"desktop.ini",
	".System Volume Information",
	"Icon?",
}
View Source
var NAME = "integrity"

NAME of the App

View Source
var SUMMARY = "3.0.0"

SUMMARY of the Version, this is using git describe Note: This generally gets set to the major version of the app, it gets set to the real version during the build process.

View Source
var VERSION = "3.0.0"

VERSION of Release Note: This generally gets set to the major version of the app, it gets set to the real version during the build process.

Functions

func GetCommands

func GetCommands() []*cli.Command

GetCommands --

func RegisterCommand

func RegisterCommand(command *cli.Command)

RegisterCommand --

Types

type AppVersionInfo

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

AppVersionInfo --

var AppVersion AppVersionInfo

AppVersion --

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