meshery/meshery

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

Offen

#18.981 geöffnet am 29.04.2026

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

Repository-Metriken

Stars
 (10.013 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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