Feature Request: Add Boilerplate Templates to rc-apps create

オープン
#181 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

@ShubhamS2005 がすでに取り組んでいます。

2026年3月17日 から。

  • #182 @ShubhamS2005 による — オープン
  • #193 @dwakshar による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
49
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.Apps-cli のほかの issue

RocketChat/Rocket.Chat.Apps-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。