cmd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package cmd contains the CLI for the application. The CLI is based on cobra and viper. * https://github.com/spf13/cobra * https://github.com/spf13/viper

Index

Constants

This section is empty.

Variables

View Source
var ErrSilent = errors.New("SilentErr")

Functions

func NewChoice

func NewChoice(allowed []string, d string) *choice

func NewRootCommand

func NewRootCommand() *cobra.Command

func NewUpdateCommand added in v0.12.0

func NewUpdateCommand() *cobra.Command

func NewVersionCommand added in v0.12.0

func NewVersionCommand() *cobra.Command

func Run

func Run() error

Types

This section is empty.

Directories

Path Synopsis
x

Jump to

Keyboard shortcuts

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