-
Notifications
You must be signed in to change notification settings - Fork 6
@W-20906837 feat: add command to use BYO LWR template #829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
@W-20906837 feat: add command to use BYO LWR template #829
Conversation
|
Thanks for the contribution! Before we can merge this, we need @scottmo to sign the Salesforce Inc. Contributor License Agreement. |
| "plugin": "@salesforce/plugin-templates" | ||
| }, | ||
| { | ||
| "alias": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this added/generated? I'm actually not sure if this should be inside the force folder in the test directory. WebApp template just sits outside of everything.
|
|
||
| Name of the site to generate. | ||
|
|
||
| # flags.name.description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest you remove the flag description, because it doesn't add any more info to the flag summary. Flag descriptions are optional.
|
|
||
| # flags.url-path-prefix.description | ||
|
|
||
| Optional. The URL path prefix for the site. This is used in the site's URL. Must contain only alphanumeric characters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can also remove this flag description. All flags are optional by default, unless explicitly marked required (in the code, which then automatically shows up in the --help). And the first two sentences don't really add more info to the flag summary. The last part (about only alphanumeric characters) can be tacked on the summary; i.e. "URL path prefix for the site; must contain only alphanumeric characters."
What does this PR do?
Adds a command for creating Digital Experience (DXP) sites with the "Build Your Own LWR" template.
Draft. Need to wait for forcedotcom/salesforcedx-templates#708 to link version.
What issues does this PR fix or reference?
@W-20906837@