Fast creation of projects, files and domains in our Architecture
Install it globally using your preferred package manager:
npm i -g @irontitan/next
Or
yarn global add @irontitan/next
Or
pnpm i -g @irontitan/next
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 topath
and all operations will be performed under this location
Next is aliased in your shell as next.
$ next <command> [options]
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
Work in progress
Work in progress
- Create
new
command, it'll include the creation logic for several assets (events, domains, repositories, services, clients, errors, configs) - Create
deploy
command so we can create tags and deploys - Add
--type
option to theinit
command in order to createlibs
and other smaller projects - Update this doc
- Improve code style and make things reusable
- Translate architecture document to english