cmdhelper

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloudflareConfigByFlags

func GetCloudflareConfigByFlags(cmd *cobra.Command) (*model.CloudflareConfig, error)

GetCloudflareConfigByFlags initializes an model.CloudflareConfig out of a command and its' flags

func TableWithHeader

func TableWithHeader(header []string) *tablewriter.Table

TableWithHeader create an instance of a table with a header which could be printed to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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