Extension type parameter is not passed to extension generator in @microsoft/[email protected]
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
To support creating SharePoint Framework Extension solutions from command line without prompt,
--extensionType parameter should be passed to extension generator.
Observed Behavior
Parameter --extensionType is not passed from component generator to extension generator.
Steps to Reproduce
npm install -g @microsoft/[email protected]yo @microsoft/sharepoint --solutionName "spfx" --componentType "extension" --extensionType "ApplicationCustomizer" --componentName "spfx" --componentDescription "spfx"- Generator still prompts for extension type.
Version
@microsoft/[email protected]
We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues