JSPM

  • Created
  • Published
  • Downloads 870
  • Score
    100M100P100Q104806F
  • License MIT

Tanagram - Catch sloppy code before it ships

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tanagram/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Tanagram CLI

    Quick Start

    # Install
    npm install -g @tanagram/cli
    
    # Log in
    tanagram login

    Commands

    tanagram login     # Log in to your Tanagram account
    tanagram logout    # Log out of your Tanagram account
    tanagram whoami    # Show identity/session details from your auth token
    tanagram version   # Show the CLI version
    tanagram help      # Show available commands

    Authentication

    tanagram login opens your browser to authorize the CLI with your Tanagram account. The CLI starts a temporary localhost server to receive the authorization callback from the browser. Once authorized, a session token is stored at ~/.tanagram/token.

    Set TANAGRAM_TOKEN to skip interactive login (useful for CI/CD).

    For local development, you can override service hosts with environment variables:

    • TANAGRAM_WEB_URL for browser login
    • TANAGRAM_API_URL for normal CLI API requests and the LLM proxy
    • TANAGRAM_LORE_URL only for Lore upload session create/complete requests

    Requirements

    • Node.js >= 14.0.0

    Built by @MattMolinar and the Tanagram team.