39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
var _init = _interopRequireDefault(require("./init"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
var _default = {
|
|
func: _init.default,
|
|
detached: true,
|
|
name: 'init <projectName>',
|
|
description: 'Initialize a new React Native project named <projectName> in a directory of the same name.',
|
|
options: [{
|
|
name: '--version [string]',
|
|
description: 'Shortcut for `--template react-native@version`'
|
|
}, {
|
|
name: '--template [string]',
|
|
description: 'Uses a custom template. Valid arguments are: npm package, absolute directory prefixed with `file://`, Git repository or a tarball'
|
|
}, {
|
|
name: '--npm',
|
|
description: 'Forces using npm for initialization'
|
|
}, {
|
|
name: '--directory [string]',
|
|
description: 'Uses a custom directory instead of `<projectName>`.'
|
|
}, {
|
|
name: '--title [string]',
|
|
description: 'Uses a custom app title name for application'
|
|
}, {
|
|
name: '--skip-install',
|
|
description: 'Skips dependencies installation step'
|
|
}]
|
|
};
|
|
exports.default = _default;
|
|
|
|
//# sourceMappingURL=index.js.map
|