Handle files
Handle files such as listing, add, delete or update.
Examples:
vcli files list
vcli files list -f name="*myfile*" -f created_at="*13:37*"
vcli files add MyFileName /path/to/my.file
vcli files update 1 --name MyFileName --file /path/to/newfile.file
vcli files update --name MyFileName --file /path/to/newfile.file -f name="*filetest*"
vcli files delete 1
vcli files discard 1
vcli files edit 1
vcli files diff 1
vcli files inspect 1
vcli files compile --file /tmp/main.vcl --inc 2,3 --root --agent 1
vcli files download 1 --file /path/filename.file
-h, --help help for file
-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.