cubos-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.24 • Public • Published


Cubos
Cubos CLI

Development tool for Cubos.

Cubos CLI

Installation

  1. Install with npm
    • $ npm i -D cubos-cli

How To Use

  1. Create a controller
    • $ npx cubos-cli -c ted
  2. Create a controller with tests
    • $ npx cubos-cli -c ted -t
  3. Create a controller with model and tests
    • $ npx cubos-cli -c ted -m cpf:string value:number -t
  4. Create a controller with functions, model and tests
    • $ npx cubos-cli -c ted -f getHistoryTed#cpf:string saveHistoryTed#cpf:string,value:money -t -m cpf:string value:number
  5. Create a controller with functions, model, tests and repository
    • $ npx cubos-cli -c ted -f getHistoryTed#cpf:string saveHistoryTed#cpf:string,value:money -t -m cpf:string value:number -r
  6. Helper
    • $ npx cubos-cli -h

After running what should i do?

$ npm run sdkgen

Readme

Keywords

Package Sidebar

Install

npm i cubos-cli

Weekly Downloads

11

Version

1.0.24

License

ISC

Unpacked Size

24 kB

Total Files

18

Last publish

Collaborators

  • leleofg