cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

0.2.1 Created by make-go-github-file.yaml on Fri Mar 31 21:16:54 UTC 2023

Reference: https://github.com/zephinzer/cloudshell/blob/master/cmd/cloudshell/main.go

Index

Constants

View Source
const (
	Short string = "view-xterm short description"
	Use   string = "view-xterm"
	Long  string = `
view-xterm long description.
	`
)

Variables

RootCmd represents the command.

Functions

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 PreRun

func PreRun(cobraCommand *cobra.Command, args []string)

Used in construction of cobra.Command

func RunE

func RunE(_ *cobra.Command, _ []string) error

Used in construction of cobra.Command

func Version

func Version() string

Used in construction of cobra.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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