$ npx create-code-base [options]
or
$ npm init code-base [options]
[--project-name=<project name>] [--app-name=<app name>] [--author=<author project>] [--template=<template name >]
-
--project-name: Name of the project you want to create
-
--app-name: The name of your React Native App you want to create
-
--author: Author of the project you want to create
-
--template: Template of the project you want to create
template names: [nestjs-base | nextjs-base | react-native-base]
If the template is notreact-native
then argument --app-name is not necessaryexample command:
$ npx create-code-base --project-name=my-project --author='My Name' --template=nestjs-base
or
$ npx create-code-base --project-name=my-project --app-name='My App' --author='My Name' --template=react-native-base
$ npm install create-code-base -g
or
# for mac
$ sudo install create-code-base -g
$ create-code-base [options]