cli

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCheck

func DefaultCheck()

DefaultCheck - helps to check basic

func DefaultHelp

func DefaultHelp()

DefaultHelp - print all helps

func HandleApply

func HandleApply(cmd *flag.FlagSet)

HandleApply - handle apply

func HandleDownload added in v0.2.1

func HandleDownload(cmd *flag.FlagSet)

HandleDownload - handler for remote subcmd

func HandleExtract

func HandleExtract(cmd *flag.FlagSet)

HandleExtract - handler

func HandleRemote

func HandleRemote(cmd *flag.FlagSet)

HandleRemote - handler for remote subcmd

func HandleRemoteCmd

func HandleRemoteCmd(cmd *flag.FlagSet)

HandleRemoteCmd - handler for remote subcmd

func HandleRights

func HandleRights(cmd *flag.FlagSet)

HandleRights - hangle all remote-app rights related detail

func HandleUpload

func HandleUpload(cmd *flag.FlagSet)

HandleUpload - handler for remote subcmd

func HandleVerify

func HandleVerify(cmd *flag.FlagSet)

HandleVerify - handler

func Loader added in v0.2.0

func Loader() *spinner.Spinner

Loader helps to show to running process status

func LoaderSkip added in v0.2.0

func LoaderSkip()

LoaderSkip helps to skip the loader from terminal

Types

type CLI

type CLI interface {
	DefaultHelp()
	GetRemotes(*string, *string) []remote.Remote
	GetRemoteApps(remote.Remote, *string, *string) []remote.App
}

CLI - helps to get the

func NewCLIHander

func NewCLIHander(c *flag.FlagSet, s string) CLI

NewCLIHander - get a hander of cli

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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