2.0.1 • Published 7 years ago
@nxcd/next v2.0.1
Next
Fast creation of projects, files and domains in our Architecture
Summary
Installation
Install it globally using your preferred package manager:
npm i -g @nxcd/nextOr
yarn global add @nxcd/nextOr
pnpm i -g @nxcd/nextGlobal options
Some options can be used through all commands (except help):
--dir <path>: By default, next runs onprocess.cwd(). If this option is provided, then the current working directory will be changed topathand all operations will be performed under this location
Usage
Next is aliased to two commands in your shell: next and nxcd. You can use both of them interchangeably.
$ nxcd <command> [options]Or
$ next <command> [options]Commands
init
Creates a new project from scratch in a new folder with project-name as name. This command will create the structure defined here (to be translated) so all the docs about it is right there.
$ next init <project-name>Options
This command accepts the Global options and:
--domains: A comma-separated list of domain names to be created along with the project. The names can be cased whatever you want, but they cannot contain spaces
Example: $ next init my-project --domains production-order,tag,userReport,user,inventory_report,userbackups
new
Work in progress
release
Work in progress
TODO
- Create
newcommand, it'll include the creation logic for several assets (events, domains, repositories, services, clients, errors, configs) - Create
deploycommand so we can create tags and deploys - Add
--typeoption to theinitcommand in order to createlibsand other smaller projects - Update this doc
- Improve code style and make things reusable
- Translate architecture document to english