Use flipted CLI
Now we have a flipted
cli tool for interacting between our service APIs and database.
Supported Commands
Examples
To Use It
Run
npm run compile
command to compile typescript to javascript, asflipted
is linked to a compiled javascript file under.build
folder.Run
npm install -g .
to install thebin
script. This will addflipted
to the system path. Whenever you typeflipted
in the command line interface, it will run the file that is pointed bybin
. Seepackage.json
for more info.
To Support More Commands
See
data/index.ts
anddata/objectives.ts
for examples.
References
Last updated
Was this helpful?