ks hook

ks hook

Manages hook

Synopsis

Manages hook. Used without arguments nor parameters, shows the currently registered hook.

A hook is a command or shell script that gets executed every time a change is detected among an environment secrets or files, and every time changes you’ve made are sent to other project members.

It receives the project UUID and the path to the .keystone folder as parameters.

The hook is global, meaning that once you’ve set it up, it will run for every project. It is also unique (there can only be one hook).

ks hook [flags]

Examples

ks hook

Options

  -h, --help   help for hook

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

  • ks - A safe system for developers to store, share and use secrets.
  • ks hook add - Adds a hook
  • ks hook rm - Removes the hook
Auto generated by spf13/cobra on 18-Jan-2022

Edit this page on GitHub