`@microsoft/spfx-cli` is designed for automation. This post covers custom org templates, CI/CD integration with GitHub Actions, air-gapped scaffolding, the scaffold log, and the `@microsoft/spfx-template-api` SDK for programmatic use in enterprise tooling.
SPFx CLI
Getting Started with @microsoft/spfx-cli: Scaffold Your First Project in Seconds
@microsoft/spfx-cli replaces the Yeoman-based SPFx generator with a single npm install and a scriptable spfx create command. This tutorial walks through installation, all 17 available templates, and the full path from install to npm run build. #spfx #m365 #sharepoint #microsoft #spfx-cli
Why Microsoft Is Retiring Yeoman: Introducing @microsoft/spfx-cli
Microsoft has published @microsoft/spfx-cli, a new open-source CLI designed to replace the decade-old Yeoman-based SPFx generator. This post explains the four structural problems that drove the decision and what the new tool means for SPFx developers today. #spfx #m365 #sharepoint #microsoft #spfx-cli