Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify VCL path and load multiple files at once with vcl.load in cli #3906

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 15, 2023

  1. cli: introduce vcl.load_files cli command

    This commit introduces a new vcl.load_files cli command, which is similar to vcl.load
    except that it turns the state argument into an optional [-s auto|cold|warm] argument,
    and adds the ability to specify multiple vcl files at once:
    
    vcl.load_files [-s auto|cold|warm] <configname> <file1> [file2, ...]
    
    The specified files are parsed in the order they were provided and treated
    as if they were concatenated and merged into a single vcl file
    walid-git committed May 15, 2023
    Configuration menu
    Copy the full SHA
    6905b1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a142aff View commit details
    Browse the repository at this point in the history
  3. cli: add -p argument to vcl.load_files

    This commit adds an optional -p argument to vcl.load_files cli command to
    allow the user to specify a path that will be prepended to the VCL_PATH
    parameter when loading the vcl files
    walid-git committed May 15, 2023
    Configuration menu
    Copy the full SHA
    4d2b0a3 View commit details
    Browse the repository at this point in the history