@suiteportal/cli
v0.5.0
Published
CLI for SuitePortal NetSuite ORM — introspect, generate, and manage
Maintainers
Readme
@suiteportal/cli
CLI for SuitePortal NetSuite ORM. Introspect your NetSuite account, generate typed clients, and manage your ORM configuration.
Install
npm install -g @suiteportal/cli
# or use npx
npx @suiteportal/cliUsage
# Initialize a new SuitePortal project
suiteportal init
# Introspect your NetSuite account schema
suiteportal introspect
# Generate typed client from schema
suiteportal generateCommands
| Command | Description |
|---------|-------------|
| init | Initialize a new SuitePortal project with config file |
| introspect | Connect to NetSuite and discover schema |
| generate | Generate TypeScript types and client from schema |
Configuration
Credentials are loaded from .env:
NETSUITE_ACCOUNT_ID=1234567_SB1
NETSUITE_CONSUMER_KEY=...
NETSUITE_CONSUMER_SECRET=...
NETSUITE_TOKEN_ID=...
NETSUITE_TOKEN_SECRET=...Documentation
Full docs at suiteportal.dev
License
MIT
