ks file

ks file

Manages secret files

Synopsis

Manages secret files.

Without arguments, lists secret files:

$ ks file
  Files tracked as secret files:

    *  config/wp-config.php
     M config/front.config.js

  * Required; A Available; M Modified

Required files will stop ks source and ks ci send Available files exist in the cache, but not in the keystone.yaml file. Modified files have different content from the cache.

For a machine parsable output, use the -q flag:

$ ks file -q
  *  config/wp-config.php
   M config/front.config.js

You can also filter output:

# Show only locally modified files
$ ks file -qf modified
   M config/front.config.js

# Show only available files
$ ks file -qf available
  A other-available.file
ks file [flags]

Options

  -f, --filter string   Files to display (default "all")
  -h, --help            help for file

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --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 13-Oct-2021

Edit this page on GitHub