cmd

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: Apache-2.0 Imports: 12 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

This section is empty.

Functions

func Must

func Must(err error)

func NewChoice

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

func NewRootCommand

func NewRootCommand() *cobra.Command

func Run

func Run() int

Types

type VersionInfo

type VersionInfo struct {
	Version string `json:"version"`
	Commit  string `json:"commit"`
	Date    string `json:"date"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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