Skip to content

vulkanojs/vulkano-cli

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published