MCPcopy Create free account
hub / github.com/webpack/webpack-cli / CommandOption

Interface CommandOption

packages/webpack-cli/src/webpack-cli.ts:182–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182interface CommandOption {
183 name: string;
184 alias?: string;
185 type?: (
186 value: string,
187 previous: Record<string, BasicPrimitive | object>,
188 ) => Record<string, BasicPrimitive | object>;
189 configs?: ArgumentConfig[];
190 negative?: boolean;
191 multiple?: boolean;
192 valueName?: string;
193 description?: string;
194 describe?: string;
195 negatedDescription?: string;
196 defaultValue?: string;
197 hidden?: boolean;
198 negativeHidden?: boolean;
199}
200
201interface Env {
202 WEBPACK_BUNDLE?: boolean;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected