Skip to content

Conversation

@scottmo
Copy link

@scottmo scottmo commented Jan 23, 2026

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@

@scottmo scottmo requested a review from a team as a code owner January 23, 2026 19:17
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @scottmo to sign the Salesforce Inc. Contributor License Agreement.

@scottmo scottmo marked this pull request as draft January 23, 2026 19:17
"plugin": "@salesforce/plugin-templates"
},
{
"alias": [],
Copy link
Author

@scottmo scottmo Jan 23, 2026

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
Copy link
Contributor

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.
Copy link
Contributor

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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants