UNPKG

1.58 kBJavaScriptView Raw
1"use strict";
2/**
3 * Copyright (c) 2019, salesforce.com, inc.
4 * All rights reserved.
5 * SPDX-License-Identifier: MIT
6 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7 */
8Object.defineProperty(exports, "__esModule", { value: true });
9const command_1 = require("@oclif/command");
10/**
11 * Common options
12 */
13const options = {
14 resources: {
15 locale: command_1.flags.string({ description: 'The locale to use' }),
16 modes: command_1.flags.string({
17 description: 'A comma separated list of modes in which the resources will be generated, defaults to all modes (dev, compat, prod, prod_compat)',
18 }),
19 srcDir: command_1.flags.string({
20 description: 'Source directory, used to compute the template version key',
21 }),
22 partials: command_1.flags.string({
23 description: 'Directory where handlebar partials are stored to be used in templates',
24 }),
25 },
26 metadata: {
27 labels: command_1.flags.string({ description: 'The labels.json file path' }),
28 routes: command_1.flags.string({ description: 'The routes.json file path' }),
29 theme: command_1.flags.string({ description: 'The theme.json file path' }),
30 views: command_1.flags.string({ description: 'Where to get the view metadata from' }),
31 },
32 compiler: {
33 isDesignMode: command_1.flags.boolean({
34 description: 'Compile the template for usage in design mode',
35 }),
36 },
37};
38exports.options = options;
39//# sourceMappingURL=options.js.map
\No newline at end of file