You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4 KiB

"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 the ones supported by `yarn add [package]` or `npm install [package]`, if you are using `--npm` option'
}, {
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'
}, {
name: '--package-name <string>',
description: 'Inits a project with a custom package name (Android) and bundle ID (iOS), e.g. com.example.app'
}]
};
exports.default = _default;
//# sourceMappingURL=index.js.map