cmd

package
v0.0.0-...-179c803 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Errhostid error
)

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 SudoPasswordCheck

func SudoPasswordCheck(exec cmdexec.Executor, detached bool, sudoPass string) error

To check if Remote Host needs Password to access Sudo and prompt for Sudo Password if exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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