cmd

package
v2.0.34 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2024 NAME HERE <EMAIL ADDRESS>

Copyright © 2024 NAME HERE <EMAIL ADDRESS>

Copyright © 2024 NAME HERE <EMAIL ADDRESS>

Copyright © 2024 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

View Source
var Version string = ""

Version string value (priority order) 1. -ldflags "-X cmd.X=..." Build Flags 2. //go:embed manifest.json (needed for go list publishing) 3. default value ""

Functions

func Execute

func Execute()

func SetVersion added in v2.0.15

func SetVersion(version string)

func UseWhere added in v2.0.15

func UseWhere(use string, whereArgs []WhereArg) string

Types

type WhereArg added in v2.0.15

type WhereArg struct {
	Arg   string
	Short string
}

func (WhereArg) Len added in v2.0.15

func (w WhereArg) Len() int

Jump to

Keyboard shortcuts

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