-
Notifications
You must be signed in to change notification settings - Fork 39
Description
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.