CLI command names and consistency.

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

Nessuno ha ancora preso questa issue.

  • #214 di @terracottabucket — chiusa senza merge

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
postgresql, rust
Ambito
cli

Direzione di ricerca

Start by tracing the CLI command named schema and the generate_managed function to understand how their names connect. The issue raises naming alternatives but does not choose one or point to files or tests; a contribution would need a project decision on the API and CLI naming before implementation. Done means the chosen names are consistent and their meaning is clear.

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

Descrizione

breaking good first issue needs discussion

In our CLI, we renamed the managed command to schema at some point. But we didn't change the generate_managed function to reflect that.

One thing to note is that generate_schema sounds a bit misleading as we are generating against a schema, not generating the schema itself.

Should we leave things as is and live with the discrepancy? Should we find a better name to make the CLI and the api consistent?

Lingua principale
Rust
Stelle
1.2k
Fork
77
Merge medio
5g 12h
PR unite (30g)
1

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 cornucopia-rs/cornucopia

Tutte le issue di cornucopia-rs/cornucopia

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.