Closed ejscribner closed 4 months ago
Requirements:
Result:
Syntax:
ottoman-cli init
ottoman-cli init --output=ottoman
Commands:
init
: Initialize a new project using ottoman. The init command will use many templates for popular node solutions
Templates: express, nestjs, typescript, only javascript, ...migrate
: Similar to the logic of the ottoman.start method, the migrate command will attempt to create scopes, collections, and indices defined in the models and schemas. (This approach to managing the creation of scopes, collections and indexes is better and should be the way to go, I suggest removing the start method in the future in favor of the CLI)
A CLI for Ottoman.js to improve developer experience. The CLI could handle:
...many other features can be added to the CLI as well.