Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @trifinlabs/ramp-api with all npm packages installed. Try it out:

var rampApi = require("@trifinlabs/ramp-api")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@trifinlabs/ramp-api v2.13.4

ramp-api

ramp-api

Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @trifinlabs/ramp-api $ @trifinlabs/ramp-api COMMAND running command... $ @trifinlabs/ramp-api (-v|--version|version) @trifinlabs/ramp-api/2.13.4 linux-x64 node-v10.4.1 $ @trifinlabs/ramp-api --help [COMMAND] USAGE $ @trifinlabs/ramp-api COMMAND ... ``` # Commands * [`@trifinlabs/ramp-api discover [MODEL]`](#trifinlabsramp-api-discover-model) * [`@trifinlabs/ramp-api help [COMMAND]`](#trifinlabsramp-api-help-command) * [`@trifinlabs/ramp-api migrate MODEL`](#trifinlabsramp-api-migrate-model) * [`@trifinlabs/ramp-api server`](#trifinlabsramp-api-server) * [`@trifinlabs/ramp-api update [MODEL]`](#trifinlabsramp-api-update-model) * [`@trifinlabs/ramp-api worker SCRIPT`](#trifinlabsramp-api-worker-script)

@trifinlabs/ramp-api discover [MODEL]

Discover database schema to create model definition

USAGE
  $ @trifinlabs/ramp-api discover [MODEL]

ARGUMENTS
  MODEL  Name of a single model/table/collection to create (if not all models)

OPTIONS
  -a, --allNewModels           Discover and create all models not in modelDir
  -a, --allOwners              Include All Owners
  -d, --dataSource=dataSource  [default: herokuPostgres] Data source name
  -o, --owner=owner            [default: salesforce] Name of owner/schema/database for the models
  -r, --[no-]relations         Include relations

  -s, --skip=skip              [default: TriggerLastId,Hcmeta,SfEventLog,TriggerLog,TriggerLastId,TriggerLogArchive]
                               Comma separate model names to skip when discovering new models

  -v, --[no-]views             Include views

  --modelConfig=modelConfig    [default: model-config.json] Path to model-config.json (relative to CWD)

  --modelDir=modelDir          [default: models] Path to models folder (relative to CWD)

@trifinlabs/ramp-api help [COMMAND]

display help for @trifinlabs/ramp-api

USAGE
  $ @trifinlabs/ramp-api help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

@trifinlabs/ramp-api migrate MODEL

Migrate model schema to match model definition

USAGE
  $ @trifinlabs/ramp-api migrate MODEL

ARGUMENTS
  MODEL  Model to migrate

OPTIONS
  -d, --dataSource=dataSource  [default: herokuPostgres]
  -m, --models=models          Comma separate model names update
  -y, --yes                    Skip confirmation prompt

@trifinlabs/ramp-api server

Run http server

USAGE
  $ @trifinlabs/ramp-api server

@trifinlabs/ramp-api update [MODEL]

Update model schema to match model definition

USAGE
  $ @trifinlabs/ramp-api update [MODEL]

ARGUMENTS
  MODEL  Model to update

OPTIONS
  -d, --dataSource=dataSource  [default: herokuPostgres]
  -m, --models=models          Comma separate model names update

@trifinlabs/ramp-api worker SCRIPT

Run nodejs script

USAGE
  $ @trifinlabs/ramp-api worker SCRIPT

ARGUMENTS
  SCRIPT  Script to run

OPTIONS
  -r, --range=range  Repeat range in cron format

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free