cli

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package cli implements git-stack subcommands.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set via -ldflags at release time (GoReleaser). When left as "dev", ResolvedVersion falls back to module/VCS build info.

Functions

func ResolvedVersion added in v0.1.1

func ResolvedVersion() string

ResolvedVersion returns the release version when stamped, otherwise the module version from go install, otherwise a short VCS revision for local builds.

func Run

func Run(args []string) error

Run parses args and executes. args should be os.Args[1:].

Types

This section is empty.

Jump to

Keyboard shortcuts

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