Commands API Reference
CLI command implementations.
Deletes burner projects. Supports deleting by name, age, or interactively.
Settings for the burn command.
Properties
Name
Specific project name to delete (optional).
Days
Delete projects older than specified days.
Force
Skip confirmation prompt.
Interactive
Interactive mode: select projects to delete.
All
Delete ALL burner projects.
Manages Burner CLI configuration settings.
Settings for the config command.
Properties
BurnerHome
Set the burner home directory.
BurnerTemplates
Set the burner templates directory.
AutoCleanDays
Set auto-cleanup age in days (0 to disable).
Editor
Set the default editor command (e.g., code, cursor, rider).
Show
Show current configuration.
ShowPath
Show config file path.
OpenTemplates
Open the templates directory in file explorer.
OpenHome
Open the burner home directory in file explorer.
Imports the current directory as a burner project.
Settings for the import command.
Properties
Name
Custom name for the imported project (defaults to current folder name).
Copy
Copy the folder instead of moving it.
Force
Skip confirmation prompt when moving.
Lists all burner projects with their metadata.
Settings for the list command.
Properties
ShowAll
Show all details including full paths.
Creates a new burner project from a template.
Settings for the new command.
Properties
Template
Template to use (dotnet, web, or custom). Shows available templates if not provided.
Name
Project name (auto-generated if not provided).
Directory
Target directory (uses default burner home if not specified).
Explorer
Open in file explorer after creation.
Code
Open in editor after creation (uses configured editor).
Interactive
Run template interactively (for templates requiring user input).
Opens a burner project in editor, file explorer, or outputs the path.
Settings for the open command.
Properties
Name
Project name to open (optional, interactive if not provided).
Explorer
Open in file explorer instead of terminal.
Code
Open in editor (uses configured editor).
Interactive
Interactive mode: select project from list.
Displays statistics about burner projects including disk usage, age distribution, and template breakdown.
Lists all available project templates.
Methods
ShowTemplatesTable(TemplateService templateService, BurnerConfig config)
Displays a formatted table of available templates.