ks file set

ks file set

Updates a file’s content for the current environment


Updates a file’s content for the current environment.

Changes the content of a file without altering other environments. The local version of the file will be used.

ks file set <path to a file> [flags]


ks file set ./config.php

# Change the content of ./config.php for the 'staging' environment:
ks --env staging file set ./config.php


  -h, --help   help for set

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