Skip to content

CLI

edge-connector Developer workflow
Terminal window
npm install -g @nara/edge-connector
edge-connector auth --token "<ADMIN_JWT>"
edge-connector generate --language typescript --tool my_tool
edge-connector test --implementations ./custom-implementations --tool my_tool
edge-connector package
edge-connector upload

Authenticate the CLI against your organization.

Terminal window
edge-connector auth --token "<ADMIN_JWT>"
  • stores the token in auth-token.json (configurable via AUTH_TOKEN_PATH)
  • validates that the token is not expired and belongs to an organization
  • required before generate, package, upload, and most test flows

Options:

  • -t, --token <token> – JWT or service token for your nara organization
  • -i, --interactive – guide through an interactive authentication flow
Edge Connector project layout (typical local dev)
.
├─ config.json # runtime configuration (Tool RPC URL, paths)
├─ auth-token.json # stored auth token for CLI/runtime
├─ deployment-credentials.json# deploymentId + deploymentSecret (server mode)
└─ custom-implementations/ # your tool implementations