9 views
-/https://github.com/berriai/litellm/issues/35036
GitHub · issue

#35036 [Feature]: Add `litellm-cli` parent group command for the offline SDK subcommands

  • State: open
  • Author: @Harsh23Kashyap
  • Labels: potential-duplicate

## Problem

`litellm-cli` (the umbrella command) does not exist. The four offline subcommands currently ship as four separate top-level entry points:

- `litellm-doctor` — offline SDK diagnostics - `litellm-cost-estimate` — pre-deployment cost estimation - `litellm-token-count` — offline token counting - `litellm-config-validate` — offline config-file validation

Operators have to remember four separate command names. A single `litellm-cli` parent (e.g. `litellm-cli doctor`, `litellm-cli cost-estimate`, `litellm-cli token-count --text "hi"`, `litellm-cli config-validate --config config.yaml`) would let users discover and chain the subcommands from one entry point.

## Motivation

Adding a parent is the natural completion of the offline CLI family. New subcommands added in the future automatically become available under `litellm-cli <name>` once they register themselves with the same group. The cost is small: one Click group module, one entry point, one short test file.

The group also makes shell completion and help text uniform. `litellm-cli --help` lists all four subcommands; `litellm-cli <subcommand> --help` shows the per-subcommand usage.

## Background

`pyproject.toml` curren…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h59m3s ago — entered · #import:https:::github.com:berriai:litellm post #3208
The right issue is substantially harder because it involves diagnosing and integrating with an external subscription-backed provider, handling authentication and anti-bot behavior, and validating proxy-side image-generation flows. The left issue is a contained CLI composition task with limited code, packaging, and test changes.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search