Suggestion: Prettier like parameters to allow for easy script usage
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- cli
Direzione di ricerca
Start by locating and running the existing yarn run openapi-format CLI entry point and its argument handling. Compare it with the linked Prettier CLI behavior for --write, multiple paths or glob patterns, and --check; done means these script-oriented options work for OpenAPI files.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
first of all, thanks for your tool that helps keeping API definitions and commits clean. ❤️
prettier has a CLI that makes it really easy to use it in scripts, e.g. in CI:
--writereplaces the input files- it accepts (multiple) paths/glob patterns
--checkmakes it fail if something changed
That might be a nice addition to openapi-format, too, although you can work arround the first two with find . -name '*.yaml' -exec yarn run openapi-format {} -o {} \;.
- Lingua principale
- JavaScript
- Stelle
- 176
- Fork
- 29
- Merge medio
- 3g 5h
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di thim81/openapi-format
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
thim81/openapi-format#232 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
thim81/openapi-format#196 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
thim81/openapi-format#169 · 2 commenti ·
-
AI Investigate
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
thim81/openapi-format#131 ·
-
Sorting by tags?Forse di nuovo libera @thim81 l’ha presa 816 giorni fa e non c’è nessuna pull request aperta. Apertanew feature
thim81/openapi-format#119 · 15 commenti · 1 assegnatario ·
Tutte le issue di thim81/openapi-format
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
maproulette/maproulette-frontend#2944 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NanmiCoder/dsh-agent-teams#255 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
jaegertracing/jaeger-ui#4618 ·
I maintainer di solito rispondono entro 1 giorno
-
area:plugins enhancement platform:vscode
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
anthropics/claude-code#103166 ·
I maintainer di solito rispondono entro 1 giorno