danielgtaylor / danielgtaylor/openapi-cli-generator

Creating subcommands

Offen
#33 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
218
Forks
54
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,
Thanks for a very useful tool!

I can't seem to figure out how to create subcommands like `$ docker container rm .`

If i try adding the path: /container/rm/{containerName}, the command will be created as `$ docker container-rm `

This is the first time that I am using both OpenAPI and this tool, so I am in no way an expert.

Thanks!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue names no files, tests, or entry points. Start by tracing how the path /container/rm/{containerName} is converted into generated command names, then determine how nested subcommands should be represented. Done means generating a command structure equivalent to `docker container rm ` without collapsing the subcommand path.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
openapi
Bereich
cli, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.