API Reference
Invoke-PowerForgePluginExport
Exports plugin folders from a reusable PowerForge plugin catalog configuration.
Remarks
This cmdlet is the PowerShell entry point for the same generic plugin export engine used by powerforge plugin export. It plans and optionally publishes plugin project outputs into folder-based plugin bundles without hardcoding IntelligenceX-specific project lists or manifest formats into the engine.
Examples
Plan plugin folder export using the default discovered config
Invoke-PowerForgePluginExport -Plan
Export only public plugins and keep symbol files
Invoke-PowerForgePluginExport -ConfigPath '.\Build\powerforge.plugins.json' -Group public -KeepSymbols -ExitCode
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Invoke-PowerForgePluginExport [-ConfigPath <String>] [-Configuration <Release|Debug>] [-ExitCode] [-Group <String[]>] [-KeepSymbols] [-OutputRoot <String>] [-Plan] [-PreferredFramework <String>] [-ProjectRoot <String>] [<CommonParameters>]
#
All Parameter SetsParameters
- ConfigPath String
- Path to the plugin catalog configuration file. When omitted, the cmdlet searches the current directory and its parents for standard PowerForge plugin config names.
- Configuration String
- Optional configuration override.
- Possible values:
Release,Debug - ExitCode SwitchParameter
- Sets host exit code: 0 on success, 1 on failure.
- Group String[]
- Optional plugin group filter. When omitted, all catalog entries are selected.
- KeepSymbols SwitchParameter
- Keeps symbol files in exported plugin folders.
- OutputRoot String
- Optional output root override for exported plugin folders.
- Plan SwitchParameter
- Builds and emits the resolved export plan without executing dotnet publish.
- PreferredFramework String
- Optional preferred framework override used when a catalog entry targets multiple frameworks.
- ProjectRoot String
- Optional project root override for resolving plugin project paths.
Outputs
System.Object