Custom Component CLI
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- git, javascript, python
Rechercherichtung
Start by reviewing the existing template repository and how ReactPy currently exposes user-facing commands. Move the template into ReactPy core, distribute it with the project, and add a command such as reactpy js_component <component_name> that invokes cookiecutter without requiring users to fetch the Git repository. Done means both work items are implemented and a custom component project can be generated through the CLI.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Current Situation
Currently, creating a custom component requires manual steps. Namely, the developer must use the template repository and pip install cookiecutter.
Since the template repo is a Git repo, you need to have git installed when you run cookiecutter to use the template. This is an unnecessary added dependency and barrier to entry.
Proposed Actions
Create a Command Line Interface (CLI) for creating custom components.
For example, Django has it's django-admin startproject <project_name> command for users. We could implement something similar. For example, reactpy js_component <component_name>.
Work Items
- Move the template repo into ReactPy core and distribute the template repo with the project
- Make a CLI that calls
cookiecutteron the static template repo to start a new project
- Vorherrschende Sprache
- Python
- Sterne
- 8.1k
- Forks
- 332
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus reactive-python/reactpy
-
Outdated GIF in Docs Offenpriority-3-low type-docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
reactive-python/reactpy#1034 ·
-
priority-2-moderate type-revision
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
reactive-python/reactpy#1319 ·
-
priority-1-high
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
reactive-python/reactpy#1277 ·
-
priority-3-low
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
reactive-python/reactpy#1273 · 1 Reaktion ·
-
priority-2-moderate
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
reactive-python/reactpy#1272 · 2 Reaktionen ·
Alle Issues in reactive-python/reactpy
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
zostera/django-bootstrap4#894 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
use-agent-os/agent-os#3276 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
NousResearch/hermes-agent#117848 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
zilliztech/memsearch#759 ·