cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 40 Imported by: 1

Documentation

Index

Constants

View Source
const LoginHint = "You are not login in!\nLogin with 'alti-cli login' or\nSwith account with 'alti-cli account use XXX'"

LoginHint is shown when user wants to perfom operation that requires user token.

Variables

This section is empty.

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 IsLogin

func IsLogin() bool

IsLogin determines if user has logined.

func IsSuperuser

func IsSuperuser() bool

IsSuperuser checks if the currently active profile is a super user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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