Azure / Azure/azure-cli-dev-tools

Unclear Message asking for paths

Aperta
#143 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
infrastructure
Lingua principale
Python
Stelle
91
Fork
134
Merge medio
2h 51m
PR unite (30g)
1

Descrizione

I'm trying to create a new cli extension project from a blank foldre using azdev

It wasn't clear to me what "Input the paths for the extension repos you wish to develop for."

Can we update this message to explain what this means?

Are we asking for the paths to another folder that we want to place the cli extension project in?

What do you mean by "add as many repos as you like". Are you expecting that to be comma delimited? And why would I do multiple repos?

```
Do you plan to develop CLI extensions? (y/n): y

Great! Input the paths for the extension repos you wish to develop for, one per line. You can add as many repos as you like. (TIP: to quickly get started, press RETURN to use your current working directory).
```

When I click enter, I get this:
```
Path (RETURN to use current directory):
'C:\Users\jong\OneDriveMS\code\azure-cli-docs-extension' is not a valid git repository.

Path (RETURN to continue):
```

It looks like there's an expectation for the current directory to be a git repo. I wasn't told that up until now.

I hit enter, Then I get this:
```
TIP: you can manage extension repos later with the `azdev extension repo` commands.

Summary
=========

CLI: PyPI
Extension repos:
Extensions:
```

At this point, I haven't been told what 'extension repos' are and it's unclear what I should do next.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia individuando il flusso di configurazione di azdev che emette i prompt CLI citati, quindi esamina i comandi `azdev extension repo` menzionati nel messaggio. Chiarisci che cos’è un repository di estensione, perché il relativo percorso deve essere un Git repository, come vengono inseriti più percorsi e cosa deve fare l’utente dopo; verifica i prompt aggiornati partendo da una cartella vuota.

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

Valutazione

Stack tecnologico
python
Ambito
cli, devtools
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.