hooks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintNoActiveEnvSet

func PrintNoActiveEnvSet()

PrintNoActiveEnvSet informs user that no env is set and exits with 0.

func PrintNoEnvConfigured

func PrintNoEnvConfigured()

PrintNoEnvConfigured informs user that no env has been configured and exits with 0.

func RequiresActiveEnv

func RequiresActiveEnv(cmd *cobra.Command, args []string)

RequiresActiveEnv ensures that an active environment is set. Additionally it also executes RequiresInit pre-run-hook.

func RequiresEnv

func RequiresEnv(cmd *cobra.Command, args []string)

RequiresEnv ensures that any environment has been configured. Additionally it also executes RequiresInit pre-run-hook.

func RequiresInit

func RequiresInit(cmd *cobra.Command, args []string)

RequiresInit ensures dockma has been initialized.

Types

This section is empty.

Jump to

Keyboard shortcuts

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