@vulkano/cli

0.1.14 • Public • Published

Proposal:

npm install -g @vulkano/cli

Creating a controller

vulkano create controller
-> Enter the controller name: User

Creating a model

vulkano create model
-> Enter the model name: User

Saving a new record

vulkano save record
-> Select the model: User
-> Enter the "firstName": Jhon
-> Enter the "lastName": Doe
-> Enter the "email": jhon@doe.com
Do you want to save the record to the model "User"?  (Y/N)

Find records

vulkano find record
-> Select the model: User
-> Filter by: "email: jhon@doe.com"

Update record

vulkano update record
-> Select the model: User
-> Condition: "_id: ID"
-> Enter the field "firstName": "prepopulated"
-> Enter the field "lasttName": "prepopulated"
Do you want to update the record to the model "User"?  (Y/N)

/@vulkano/cli/

    Package Sidebar

    Install

    npm i @vulkano/cli

    Weekly Downloads

    0

    Version

    0.1.14

    License

    MIT

    Unpacked Size

    19.5 kB

    Total Files

    16

    Last publish

    Collaborators

    • camiloborrero29
    • argordmel