util

package
v0.0.0-...-b3686c0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountConfig

func GetAccountConfig(cfg *config.Config, g *global.Flags) (*config.AccountConfig, error)

GetAccountConfig returns an AccountConfig either from context defined in config file or from globalFlags

func IsValidArgsLength

func IsValidArgsLength(args []string, n int) bool

IsValidArgsLength checks if arguments passed via command line matches the given count

Types

This section is empty.

Jump to

Keyboard shortcuts

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