Feature Request: Add Boilerplate Templates to rc-apps create
@ShubhamS2005 arbeitet bereits daran.
Seit 17.3.2026.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- typescript
- Bereich
- cli, developer-experience
Rechercherichtung
Start with the rc-apps create command and inspect the existing templates folder to understand how generated app files are selected and copied. Define how the --boilerplate option handles slash-command, api-endpoint, and settings, then verify that each selected option produces the corresponding template file in the new app.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
When developers create a new Rocket.Chat app using the rc-apps create command, the generated project only contains the basic app structure. Developers often need to manually create common components such as:
- Slash Commands
- API Endpoints
- App Settings
This requires additional manual setup and boilerplate code.
Proposed Solution
Add a --boilerplate flag to the create command that allows users to automatically generate common starter templates during app creation.
Example usage:
rc-apps create --name=MyApp --boilerplate slash-command
Supported options could include:
- slash-command
- api-endpoint
- settings
The CLI would then generate the corresponding template file inside the newly created app.
Benefits
- Reduces manual setup for developers
- Improves developer experience
- Helps new developers start building Rocket.Chat apps faster
Additional Notes
The boilerplate templates already exist in the repository under the templates folder, so the feature mainly connects them to the create command.
I would be happy to work on implementing this feature.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 49
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
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 RocketChat/Rocket.Chat.Apps-cli
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfullyEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 Kommentare ·
-
Bug: Infinite loop in rc-apps watchEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
-
`rc-apps pack` throws error with nodejs 24Evtl. wieder frei @okayxsh hat das vor 231 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · 3 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 38/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
RocketChat/Rocket.Chat.Apps-cli#164 · 1 Kommentar ·
Alle Issues in RocketChat/Rocket.Chat.Apps-cli
Ähnliche Issues
-
Out of order / duplicate key error shows the key bytes as decimal or UTF-8, not hexEvtl. vergeben @bardrop hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
-
`/leaderboard`, the page and the share image say "be the first" for a program that hasn't startedOffenbug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
codercops/discord-bot#152 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug i18n
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
endora-commerce/endora-commerce#1315 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Two stored artist rows are not act names: "DJS" from a Renate floor heading and "Stevie Cox -"Offenarea:data-quality importer size:S
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
enorm-labs/event-junkie#5136 ·
Maintainer antworten meist innerhalb von 1 Tag
-
fix(scripts): set-device-owner.ps1 fails to parse on Windows PowerShell 5.1 (UTF-8 without BOM)Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag