feat: Renames sf template generate webapp to sf template generate multi-framework. @W-21575871@#873
Conversation
|
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. |
bbf7199 to
63e0868
Compare
|
@lesya7 @amritmishra-sf @bpbuch , Please review this PR for renaming |
|
|
||
| - Generate a React-based web application: | ||
|
|
||
| <%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
So I'm going to create a PR off of your PR with some edits of the --help -- stay tuned.
There was a problem hiding this comment.
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 ?
messages/multi-framework.md
Outdated
|
|
||
| **Examples:** | ||
|
|
||
| - "--output-dir force-app/main/default" → Creates a web application at "force-app/main/default/webapplications/MyWebApp/" |
There was a problem hiding this comment.
I thought the new directory name would be "multiframeworks" and not "webapplications"???
There was a problem hiding this comment.
multiframeworkApps it is. But I am going to take care of in next PR. Right now, only focusing on cli commands renaming.
messages/multi-framework.md
Outdated
There was a problem hiding this comment.
should it be force-app/main/default/multiframeworks?
There was a problem hiding this comment.
that change comes in next PR.
messages/multi-framework.md
Outdated
There was a problem hiding this comment.
Should it be "multiframeworks"?
There was a problem hiding this comment.
that change comes in next PR.
messages/multi-framework.md
Outdated
There was a problem hiding this comment.
Ditto, multiframeworks?
There was a problem hiding this comment.
that change comes in next PR.
messages/multi-framework.md
Outdated
| 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>". |
There was a problem hiding this comment.
that change comes in next PR.
messages/multi-framework.md
Outdated
| **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) |
messages/multi-framework.md
Outdated
2b79b37 to
383b60b
Compare
- 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
383b60b to
6abe92e
Compare
What does this PR do?
Renames the webapp template generator command from
sf template generate webapptosf template generate multi-frameworkto 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