Skip to content

feat: Renames sf template generate webapp to sf template generate multi-framework. @W-21575871@#873

Closed
deepu-mungamuri94 wants to merge 1 commit intosalesforcecli:mainfrom
deepu-mungamuri94:rename-webapp-to-multi
Closed

feat: Renames sf template generate webapp to sf template generate multi-framework. @W-21575871@#873
deepu-mungamuri94 wants to merge 1 commit intosalesforcecli:mainfrom
deepu-mungamuri94:rename-webapp-to-multi

Conversation

@deepu-mungamuri94
Copy link
Copy Markdown

@deepu-mungamuri94 deepu-mungamuri94 commented Mar 18, 2026

What does this PR do?

Renames the webapp template generator command from sf template generate webapp to sf template generate multi-framework to align with the multi-framework naming conventions.

What issues does this PR fix or reference?

@W-21575871@

Screen.Recording.2026-03-18.at.3.29.27.PM.mov

@deepu-mungamuri94 deepu-mungamuri94 requested a review from a team as a code owner March 18, 2026 04:33
@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Unfortunately we can't verify the commit author(s): dmungamuri <d***@s***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, refresh the status of this Pull Request.

@deepu-mungamuri94
Copy link
Copy Markdown
Author

@lesya7 @amritmishra-sf @bpbuch , Please review this PR for renaming webapp to multi.

@Shinoni Shinoni self-requested a review March 18, 2026 16:05

- Generate a React-based web application:

<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic
Copy link
Copy Markdown
Contributor

@jshackell-sfdc jshackell-sfdc Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is reactbasic the correct name of the template? (I can't keep track, names keep changing, so it might be but I wanted to make sure).

I'm on the CLI nightly and here's what I see for --template when I run sf template project generate -h; note that there are two options for react: reactb2e and reactb2x, but not reactbasic:

  -t, --template=<option>            [default: standard] Template to use for project creation.
                                     <options: standard|empty|analytics|reactb2e|reactb2x|agent>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @deepu-mungamuri94

So I'm going to create a PR off of your PR with some edits of the --help -- stay tuned.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sf template project generate -h - I believe this is different which is for creating SFDX project.

For multiframework cli(sf template generate multi-framework --name appB) command, we generate webapps inside the existing SFDX Project under folder webapplications and will be renamed to multiframeworkapps in the next PR.

@lesya7 , can you pls confirm on this ?


**Examples:**

- "--output-dir force-app/main/default" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the new directory name would be "multiframeworks" and not "webapplications"???

Copy link
Copy Markdown
Author

@deepu-mungamuri94 deepu-mungamuri94 Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiframeworkApps it is. But I am going to take care of in next PR. Right now, only focusing on cli commands renaming.

Copy link
Copy Markdown
Contributor

@jshackell-sfdc jshackell-sfdc Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be force-app/main/default/multiframeworks?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that change comes in next PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be "multiframeworks"?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that change comes in next PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, multiframeworks?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that change comes in next PR.

The location can be an absolute path or relative to the current working directory.
The location can be an absolute path or relative to the current working directory.

**Important:** The generator automatically ensures the output directory ends with "webapplications". If your specified path doesn't end with "webapplications", it's automatically appended. The web application is created at "<output-dir>/<webappname>".
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"multiframeworks"?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that change comes in next PR.

**Examples:**

- "--output-dir force-app/main/default" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/"
- "--output-dir force-app/main/default/webapplications" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/" (no change)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@deepu-mungamuri94 deepu-mungamuri94 changed the title feat: Renames sf template generate webapp to sf template generate multi. @W-21575871@ feat: Renames sf template generate webapp to sf template generate multi-framework. @W-21575871@ Mar 23, 2026
- Rename command: sf template generate webapp → sf template generate webui
- Rename source folder: src/commands/template/generate/webapp/ → webui/
- Rename messages file: messages/webApplication.md → messages/webui.md
- Update default output directory: main/default/webapplications → main/default/webui
- Update all path references, examples, and tests to use webui

Made-with: Cursor
@deepu-mungamuri94 deepu-mungamuri94 deleted the rename-webapp-to-multi branch March 27, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants