Azure / Azure/azure-cli-dev-tools

azdev extension/cli create -- additional functionality

Offen
#108 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

code gen enhancement
Vorherrschende Sprache
Python
Sterne
91
Forks
134
Ø Merge
2 Std. 51 Min.
Gemergte PRs (30 T.)
1

Beschreibung

So this is a proposal to add new parameters to the command:

**--autorest-input-file (json or md file within locally cloned azure-rest-api-specs)**

If the parameter is added, **azdev** would run following docker command:

docker run -ti -v **azure-rest-api-specs-folder**:/azure-rest-api-specs -v **output-folder**:/generated zikalino/autorest.devops /azure-rest-api-specs/**path-to-md-file**.md **azdev**

The command will produce following files in **output-folder**:
- _client_factory.py
- _help.py
- _params.py
- commands.py
- custom.py
- report.md

These files can be used to replace scaffolded files with complete prototype implementation of command module.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Start at the azdev extension/cli create command entry point and inspect how it handles command parameters. Verify the proposed --autorest-input-file behavior against the documented Docker invocation and output files: _client_factory.py, _help.py, _params.py, commands.py, custom.py, and report.md. Done means the command accepts the input path and produces the listed prototype files in the output folder.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, python
Bereich
cli, devtools
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

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