English | Русский | Back to UE Forge
Discover and execute Unreal Engine commandlets with auto-generated usage info.
- Source scanning — scans engine and project
Source/forUCommandletsubclasses, finds them by class inheritance patterns in.h/.cppfiles - Description extraction — pulls descriptions from code comments above the class declaration,
HelpDescriptionproperty in constructors, andHelpUsagestrings - Parameter detection — auto-generates usage hints from
FParse::Param,FParse::Value, andFParse::Boolpatterns found in the commandlet source - Favorites — star commandlets for quick access, persisted to
commandlet_favorites.json - Notes — attach per-commandlet notes with debounced auto-save to
commandlet_notes.json - Live console — real-time output from commandlet execution with log-level highlighting
- Engine integration — uses the same engine discovery as Plugin Builder, runs commandlets via the engine's
UE4Editor-Cmd.exe/UnrealEditor-Cmd.exe
python -m ue_forge.commandlet_runner
# or inside the host:
python -m ue_forge # → "Commandlets" in sidebar- Select a
.uprojectfile (or drag & drop) - Pick the engine version
- Browse the discovered commandlet list — use search to filter, star to favorite
- Select a commandlet to see its description, parameters, and usage
- Configure arguments and click Run
- Monitor output in the live console
The scanner walks Source/ directories in both the engine installation and the selected project, looking for files containing UCommandlet subclass declarations. For each found commandlet:
- Class name is extracted from the inheritance pattern (
class XCommandlet : public UCommandlet) - The
.hand.cppfiles are searched for comment blocks immediately above the class declaration - Constructor bodies are scanned for
HelpDescription,HelpUsage,HelpWebLink,IsServer,IsClient,IsEditor,LogToConsoleassignments - The full
.cppis scanned forFParse::Param("ParamName"),FParse::Value("Key", ...),FParse::Bool("Flag")calls to build the parameter list
| File | Location | Description |
|---|---|---|
commandlet_favorites.json |
App config dir | List of starred commandlet names |
commandlet_notes.json |
App config dir | Map of commandlet name → user note text |
