Search

vcli file edit

Open editor for a file

Synopsis

Edit a file in $EDITOR, when saved a new version will be created, if changes was made. Without -v the latest version of the file will be loaded in the editor.

vcli file edit [file-id] [flags]

Options

  -h, --help             help for edit
  -v, --version string   File version
  -y, --yes              Perform operation without confirmation

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203