summaryrefslogtreecommitdiff
path: root/src/main.yml
blob: afe235c08ecc08c4a767c925ec9ce7cb9551830c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
name: installer
settings:
  - ArgRequiredElseHelp
subcommands:
  - generate:
      about: Generate a complete installer tarball
      args:
        - product-name:
            help: The name of the product, for display
            long: product-name
            takes_value: true
            value_name: NAME
        - component-name:
            help: The name of the component, distinct from other installed components
            long: component-name
            takes_value: true
            value_name: NAME
        - package-name:
            help: The name of the package, tarball
            long: package-name
            takes_value: true
            value_name: NAME
        - rel-manifest-dir:
            help: The directory under lib/ where the manifest lives
            long: rel-manifest-dir
            takes_value: true
            value_name: DIR
        - success-message:
            help: The string to print after successful installation
            long: success-message
            takes_value: true
            value_name: MESSAGE
        - legacy-manifest-dirs:
            help: Places to look for legacy manifests to uninstall
            long: legacy-manifest-dirs
            takes_value: true
            value_name: DIRS
        - non-installed-overlay:
            help: Directory containing files that should not be installed
            long: non-installed-overlay
            takes_value: true
            value_name: DIR
        - bulk-dirs:
            help: Path prefixes of directories that should be installed/uninstalled in bulk
            long: bulk-dirs
            takes_value: true
            value_name: DIRS
        - image-dir:
            help: The directory containing the installation medium
            long: image-dir
            takes_value: true
            value_name: DIR
        - work-dir:
            help: The directory to do temporary work
            long: work-dir
            takes_value: true
            value_name: DIR
        - output-dir:
            help: The location to put the final image and tarball
            long: output-dir
            takes_value: true
            value_name: DIR
        - compression-formats:
            help: Comma-separated list of compression formats to use
            long: compression-formats
            takes_value: true
            value_name: FORMAT
  - combine:
      about: Combine installer tarballs
      args:
        - product-name:
            help: The name of the product, for display
            long: product-name
            takes_value: true
            value_name: NAME
        - package-name:
            help: The name of the package, tarball
            long: package-name
            takes_value: true
            value_name: NAME
        - rel-manifest-dir:
            help: The directory under lib/ where the manifest lives
            long: rel-manifest-dir
            takes_value: true
            value_name: DIR
        - success-message:
            help: The string to print after successful installation
            long: success-message
            takes_value: true
            value_name: MESSAGE
        - legacy-manifest-dirs:
            help: Places to look for legacy manifests to uninstall
            long: legacy-manifest-dirs
            takes_value: true
            value_name: DIRS
        - input-tarballs:
            help: Installers to combine
            long: input-tarballs
            takes_value: true
            value_name: FILE,FILE
        - non-installed-overlay:
            help: Directory containing files that should not be installed
            long: non-installed-overlay
            takes_value: true
            value_name: DIR
        - work-dir:
            help: The directory to do temporary work
            long: work-dir
            takes_value: true
            value_name: DIR
        - output-dir:
            help: The location to put the final image and tarball
            long: output-dir
            takes_value: true
            value_name: DIR
  - script:
      about: Generate an installation script
      args:
        - product-name:
            help: The name of the product, for display
            long: product-name
            takes_value: true
            value_name: NAME
        - rel-manifest-dir:
            help: The directory under lib/ where the manifest lives
            long: rel-manifest-dir
            takes_value: true
            value_name: DIR
        - success-message:
            help: The string to print after successful installation
            long: success-message
            takes_value: true
            value_name: MESSAGE
        - legacy-manifest-dirs:
            help: Places to look for legacy manifests to uninstall
            long: legacy-manifest-dirs
            takes_value: true
            value_name: DIRS
        - output-script:
            help: The name of the output script
            long: output-script
            takes_value: true
            value_name: FILE
  - tarball:
      about: Generate package tarballs
      args:
        - input:
            help: The input folder to be compressed
            long: input
            takes_value: true
            value_name: NAME
        - output:
            help: The prefix of the tarballs
            long: output
            takes_value: true
            value_name: PATH
        - work-dir:
            help: The folder in which the input is to be found
            long: work-dir
            takes_value: true
            value_name: DIR