PURISTA API / @purista/cli
@purista/cli
A cli wizard package for PURISTA typescript backend framework.
Open your preferred terminal, create a new folder for your project and inside this folder execute:
bash
npx @purista/cli initChoose global install of the cli during the init process to be able to access the CLI tool directly from your command line later on
After you've initiated your project, you can:
Add a new service:
bash
purista add serviceAdd a new command to a service:
bash
purista add commandAdd a new subscription to a service:
bash
purista add subscriptionThere is the option to use the add functionality more shorthand:
This will create a new service named "user"
bash
purista add command userVisit purista.dev
Follow on Twitter @purista_js
Join the Discord Chat
