Search

vcli file compile

Compile specified VCL files

Synopsis

Compile a set of files from disk or from the Controller, not yet attached to a VCLGroup.

vcli file compile [flags]

Options

  -f, --file string        Main VCL file to compile
  -h, --help               help for compile
      --inc-files string   Include VCL files to compile (comma separated list of files).
  -i, --includes string    Comma separated file ID:Version for included files (e.g. 1:3, 3:latest)
      --root               Mark as root deployment
      --validate string    Validate method for VCLGroup (random, agents=<ids,...>, all) (default "random")
  -v, --vcl string         Main VCL File ID:Version (e.g. 1:21, 1:latest)

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