cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cli handles CLI helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitBoolConfigValue

func GitBoolConfigValue(key string) bool

GitBoolConfigValue gets a configuration setting as a bool

func GitConfigValue

func GitConfigValue(key string) string

GitConfigValue gets a configuration setting

func GitRepoOutputText

func GitRepoOutputText(path string, args ...string) string

GitRepoOutputText gets output text for a specific repository

func IsYes

func IsYes(in string) bool

IsYes will indicate if an environment setting is set to yes

func Run added in v0.5.0

func Run(version string, fxn func() error)

Run will execute a function if it doesn't have a leading argument to parse

Types

This section is empty.

Jump to

Keyboard shortcuts

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