cli

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 6 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 Error

func Error(v ...interface{})

func Errorf

func Errorf(format string, a ...interface{})

func Fatal

func Fatal(v ...interface{})

func Fatalf

func Fatalf(format string, a ...interface{})

func Info

func Info(v ...interface{})

func Infof

func Infof(format string, a ...interface{})

func OpenURL

func OpenURL(url string) error

func Prompt

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

func Select

func Select(label string, items []string) (int, string, error)

func Table

func Table(header []string, rows [][]string)

func Warn

func Warn(v ...interface{})

func Warnf

func Warnf(format string, a ...interface{})

Types

type App

type App = cli.App

type BoolFlag

type BoolFlag = cli.BoolFlag

type Command

type Command = cli.Command

type Context

type Context = cli.Context

type Flag

type Flag = cli.Flag

type IntFlag

type IntFlag = cli.IntFlag

type IntSliceFlag

type IntSliceFlag = cli.IntSliceFlag

type PathFlag

type PathFlag = cli.PathFlag

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