ks file rm

ks file rm

Removes a file from secrets


Removes a file from secrets.

The file will no longer be gitignored and its content will no longer be updated when changing environment.

The content of the file for all environments will be kept in the keystone project. Files can be used again using “file add” command.

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


ks file rm config/old-test-config.php


  -f, --force   force remove file on system.
  -h, --help    help for rm
  -p, --purge   purge file content from all environments

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


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

Edit this page on GitHub