cli

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(label string, placeholder bool) (bool, error)

func MustConfirm

func MustConfirm(label string, placeholder bool) bool

func MustPrompt

func MustPrompt(label, placeholder string) string

func Prompt

func Prompt(label, placeholder string) (string, error)

func ShowAppHelp

func ShowAppHelp(cmd *Command) error

func ShowCommandHelp

func ShowCommandHelp(cmd *Command) error

Types

type BoolFlag

type BoolFlag = cli.BoolFlag

type Command

type Command = cli.Command

type Flag

type Flag = cli.Flag

type IntFlag

type IntFlag = cli.IntFlag

type IntSliceFlag

type IntSliceFlag = cli.IntSliceFlag

type StringFlag

type StringFlag = cli.StringFlag

type StringSliceFlag

type StringSliceFlag = cli.StringSliceFlag

Jump to

Keyboard shortcuts

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