1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.default = void 0;
|
7 |
|
8 | var _init = _interopRequireDefault(require("./init"));
|
9 |
|
10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11 |
|
12 | var _default = {
|
13 | func: _init.default,
|
14 | detached: true,
|
15 | name: 'init <projectName>',
|
16 | description: 'Initialize a new React Native project named <projectName> in a directory of the same name.',
|
17 | options: [{
|
18 | name: '--version <string>',
|
19 | description: 'Shortcut for `--template react-native@version`'
|
20 | }, {
|
21 | name: '--template <string>',
|
22 | description: 'Uses a custom template. Valid arguments are the ones supported by `yarn add [package]` or `npm install [package]`, if you are using `--npm` option'
|
23 | }, {
|
24 | name: '--npm',
|
25 | description: 'Forces using npm for initialization'
|
26 | }, {
|
27 | name: '--directory <string>',
|
28 | description: 'Uses a custom directory instead of `<projectName>`.'
|
29 | }, {
|
30 | name: '--title <string>',
|
31 | description: 'Uses a custom app title name for application'
|
32 | }, {
|
33 | name: '--skip-install',
|
34 | description: 'Skips dependencies installation step'
|
35 | }]
|
36 | };
|
37 | exports.default = _default;
|
38 |
|
39 |
|
\ | No newline at end of file |