meshery/meshery

[mesheryctl] Align model init output-format help with actual CSV support

Open

#18.981 geöffnet am 29. Apr. 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)HTML (3.101 Forks)batch import
help wanted

Repository-Metriken

Stars
 (10.013 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 22T 16h) (332 gemergte PRs in 30 T)

Beschreibung

See mesheryctl Command Tracker for current status of commands.

Current Behavior

mesheryctl model init still advertises CSV in its examples even though the command validates --output-format with oneof=json yaml and the helper marks CSV as TODO implement csv.

That leaves users with a documented option they cannot successfully use.

Desired Behavior

Either remove CSV from the user-facing help/examples for now, or fully implement CSV support so the help text matches the command behavior.

Screenshots/Logs

Relevant code path:

  • mesheryctl/internal/cli/root/model/init.go
  • example text: --output-format [json|yaml|csv]
  • validation tag: oneof=json yaml
  • unreachable CSV branch: ErrModelUnsupportedOutputFormat("TODO implement csv")

Environment

  • Host OS: Linux
  • Meshery Server Version: stable-v
  • Meshery Client Version: current master
  • Platform: Docker Kubernetes

Contributor Guides and Handbook

Contributor Guide