ks file require

ks file require

Marks a file as required

Synopsis

Marks a file as required.

Files marked as required must exist and have content. If they don’t, ks source will exit with a non-zero exit code.

Additionally, ks ci send will fail if a required file is empty or missing.

ks file require [path to a file] [flags]

Examples

ks file require ./config.json

Options

  -h, --help   help for require

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