@trifinlabs/ramp-api-cli

1.1.0 • Public • Published

Usage

Run ramp-cli [args] to get args list run ramp-cli

Auto discovery

To run auto discovery script, run node auto-dsicover.js It connects to every datasource provided in server/datasources.json file and generates model files for all tables found in public and salesforce schemas, except

  • tables with models presented in server/model-config.json and marked as private (public === false)
  • tables with _ in the beggining of the table name (e.g. _log) All existing .json model definitions will be overwritten, existing .js files will be kept, to save models logic All model .json files that has no tables in database will be removed

!!!!Warning

On npm preinstall hook we run auto-discovery.js script to sync database tables and model files To install npm packages locally and not sync models, please run npm install --ignore-scripts

Readme

Keywords

none

Package Sidebar

Install

npm i @trifinlabs/ramp-api-cli

Weekly Downloads

2

Version

1.1.0

License

PROPRIETARY

Unpacked Size

180 MB

Total Files

6

Last publish

Collaborators

  • trifinlabs