ks hook add

ks hook add

Adds a hook

Synopsis

Adds a hook.

It must be executable. It will receive the project UUID and the path to the .keystone folder as parameters.

The it will be run when environments change.

ks hook add [flags]

Examples

ks hook add backup-secrets.sh

Options

  -h, --help   help for add

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --debug           debug output
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default

SEE ALSO

Auto generated by spf13/cobra on 12-Jan-2023

Edit this page on GitHub