@irontitan/next
v2.3.2
Published
File template and cli helper for files using irontitan architecture
Downloads
14
Readme
Next
Fast creation of projects, files and domains in our Architecture
Summary
Installation
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
Global 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 topath
and all operations will be performed under this location
Usage
Next is aliased in your shell as next.
$ 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
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