[CLI] Skip interactive mapping phase using the configuration file

Aperta
#344 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

Start by reading the connect command entry point and how it currently reads interactiveSetupFigmaFileUrl from the configuration. Trace the interactive discovery and mapping flow to identify which configuration shape could provide mapping decisions. Done means connect can use mappings from the config and skip the interactive mapping phase; the issue does not name specific files or tests.

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

Descrizione

feature request

When using the connect command I'd like to be able to skip the interactive mapping phase and directly provide my mapping decisions from the config file.

Rationale:

Right now the only parameter used by the connect command is interactiveSetupFigmaFileUrl.
However, for the vast majority of my components, I already know which node will be mapped to which file in my repository and asking for the acutal mapping is more of a confirmation than anything else. In the end going through the interactive discovery / mapping phase is not really required.

I know the connect command is not supposed to be run again and again but selecting the components to connect is cumbersome, time-consuming and may lead to configuration errors due to its interactive nature.

Lingua principale
TypeScript
Stelle
1.6k
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 figma/code-connect

Tutte le issue di figma/code-connect

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.