1Caddy(8)                                                              Caddy(8)
2
3
4

NAME

6       caddy-adapt - Adapts a configuration to Caddy's native JSON
7
8
9

SYNOPSIS

11       caddy adapt [flags]
12
13
14

DESCRIPTION

16       Adapts  a  configuration  to  Caddy's native JSON format and writes the
17       output to stdout, along with any warnings to stderr.
18
19
20       If --pretty is specified, the output will be formatted with indentation
21       for human readability.
22
23
24       If --validate is used, the adapted config will be checked for validity.
25       If the config is invalid, an error will be printed to stderr and a non-
26       zero exit status will be returned.
27
28
29

OPTIONS

31       --adapter="caddyfile"      Name of config adapter
32
33
34       --config=""      Configuration file to adapt (required)
35
36
37       -h, --help[=false]      help for adapt
38
39
40       --pretty[=false]      Format the output for human readability
41
42
43       --validate[=false]      Validate the output
44
45
46

SEE ALSO

48       caddy(8)
49
50
51

HISTORY

53       15-Aug-2023 Auto generated by spf13/cobra
54
55
56
57Auto generated by spf13/cobra      Aug 2023                           Caddy(8)
Impressum