hooks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddHookCmd = &cobra.Command{
	Use:   "add-hook [hookname]",
	Short: "Add environment hook",
	Long:  "Add an environment hook (PRE_DEPLOYMENT_BACKUP)",
	Run:   AddHook,
}

AddHookCmd - `iron environment add-hook [hookname]`

View Source
var RemoveHookCmd = &cobra.Command{
	Use:   "remove-hook [hookname]",
	Short: "Remove environment hook",
	Long:  "Remove an environment hook (PRE_DEPLOYMENT_BACKUP)",
	Run:   RemoveHook,
}

RemoveHookCmd - `iron environment remove-hook [hookname]`

Functions

func AddHook

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

func RemoveHook

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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