Skip to content

Feature Request: Add Boilerplate Templates to rc-apps create #181

@ShubhamS2005

Description

@ShubhamS2005

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions