Make the CLI version shortcut and command help discoverable

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@MichaelSchmidle ci sta già lavorando.

Dal 26/11/2026.

  • #23 di @MichaelSchmidle — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start by reading the CLI parser and installed launcher code, then inspect the tests that cover parser behavior and packaging. Run the launcher tests and check bare, help, and version invocations offline. Done means the acceptance criteria pass, including compatible version interfaces, useful descriptions for public subcommands, and usage errors for invalid arguments.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem

In v0.3.0, invoking buzz-server without arguments returns a usage error, -v is not recognized, and buzz-server --help exposes the installed zipapp path instead of the executable name. Several subcommands have no description in the top-level help.

Acceptance criteria

  • buzz-server and buzz-server -v exit successfully and report the same installed version as buzz-server --version. Keep the existing version and --json version interfaces compatible.
  • Top-level and subcommand usage show buzz-server, not an interpreter command or a private payload path. Every public subcommand has a short, useful description; distinguish actions with notable side effects.
  • Test the installed launcher as well as the parser. Bare, help and version shortcuts stay fast and offline; genuinely invalid arguments still fail with a usage error.
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
8h 15m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di j2-ms/buzz-server

Tutte le issue di j2-ms/buzz-server

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.