cmd

package
v2.0.37 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 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

func SetVersion(version string)

func UseWhere

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

Types

type WhereArg

type WhereArg struct {
	Arg   string
	Short string
}

func (WhereArg) Len

func (w WhereArg) Len() int

Jump to

Keyboard shortcuts

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