cmd

package
v0.0.0-...-3f8eaf4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 36 Imported by: 0

Documentation

Overview

Package cmd uses Cobra to provide the tool's command line interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrFunc

func ErrFunc(cmd *cobra.Command, errMsg error) error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func Initialize

func Initialize() bool

Initialize makes sure everything is ready to run. These routines don't return if they aren't

func UsageWithNotes

func UsageWithNotes(notes string) string

func VerifyMigrations

func VerifyMigrations()

VerifyMigrations will panic if the installation is not properly migrated

func VerifyOs

func VerifyOs()

VerifyOs will panic if the operating system isn't cooperating

Types

This section is empty.

Jump to

Keyboard shortcuts

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