! exec pint -l debug --no-color lint rules
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=.pint.hcl
level=ERROR msg="Execution completed with error(s)" err="failed to load config file \".pint.hcl\": invalid prometheus TLS configuration: open prom-ca.pem: no such file or directory"
-- rules/1.yml --
groups:
- name: foo
  rules:
  - record: aggregate
    expr: sum(foo) without(job)

-- .pint.hcl --
prometheus "prom" {
  uri      = "https://127.0.0.1:7133"
  failover = []
  timeout  = "5s"
  required = true
  tls {
    caCert     = "prom-ca.pem"
    clientCert = "prom.pem"
    clientKey  = "prom.key"
  }
}
