cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

View Source
const (
	FlagHomePath = "home"
)

Variables

Functions

func CreateErrHandler

func CreateErrHandler(sigC chan os.Signal) func(err error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func InitConfig

func InitConfig(homepath string) types.Config

func InitConfigCommand

func InitConfigCommand() *cobra.Command

func StartCommand

func StartCommand() *cobra.Command

func VersionCommand

func VersionCommand() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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