Luigit
repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by admin

smith-cli/tests/snapshots/e2e_help__help_login.snap

Raw
---
source: smith-cli/tests/e2e_help.rs
expression: "String::from_utf8(help(&[\"login\", \"--help\"])).unwrap()"
---
Store API credentials or sign in to a subscription; never guess billing mode

Usage: smith login [OPTIONS]

Options:
      --provider <PROVIDER>
          Vendor billing connection: API credentials or subscription sign-in

          Possible values:
          - openai:                 OpenAI-compatible endpoints
          - openai-chatgpt-plan:    `ChatGPT` plan through Responses; requires explicit profile and model
          - anthropic-claude-plan:  Claude subscription; explicit local profile, no API-key fallback
          - google-gemini-cli-plan: Google Gemini CLI subscription; no API-key fallback
          - anthropic:              Anthropic Messages API
          - google:                 Google Gemini API
          - zai:                    Metered Z.ai API connection
          - zai-coding-plan:        Z.ai Coding Plan connection; never falls back to metered API billing
          
          [default: openai-chatgpt-plan]

      --project <PROJECT>
          Subscription-only Google Cloud project used for Code Assist setup

      --profile <PROFILE>
          Subscription-only: reauthorize this exact saved registration; never register another client implicitly

      --fixture-issuer <FIXTURE_ISSUER>
          Subscription-only trusted loopback issuer; uses a separate fixture-only profile namespace

  -h, --help
          Print help (see a summary with '-h')