ProvidesAutocompletion

Console Command Trait that injects cross-platform signal handling to trigger cleanup on exit through the handleCleanup() method on the implementing class.

 trait Winter\Storm\Console\Traits\ProvidesAutocompletion

Methods

public complete (Symfony\Component\Console\Completion\CompletionInput $input, Symfony\Component\Console\Completion\CompletionSuggestions $suggestions) : void

Provide autocompletion for this command's input

Parameters
Property Description
$input
Symfony\Component\Console\Completion\CompletionInput
$suggestions
Symfony\Component\Console\Completion\CompletionSuggestions
Returns
void

Used by

Class Description
BaseScaffoldCommand
CreateCommand
CreateJob
CreateMigration

Scaffolds a new migration file

CreateModel
CreatePlugin
CreateSettings
CreateTest
PluginDisable

Console command to disable a plugin.

PluginEnable

Console command to enable a plugin.

PluginInstall

Console command to install a new plugin.

PluginList

Console command to list existing plugins.

PluginRefresh

Console command to refresh a plugin.

PluginRemove

Console command to remove a plugin.

PluginRollback

Console command to rollback a plugin.

WinterDown

Console command to tear down the database.

WinterEnv

Console command to convert configuration to use .env files.

WinterInstall

Console command to install Winter.

WinterVersion

Detects the version of Winter CMS installed.

AssetCompile
AssetCreate
AssetInstall
AssetList
NpmRun
NpmUpdate
MixCompile
MixCreate
MixInstall
MixList
MixWatch
ViteCompile
ViteCreate
ViteInstall
ViteList
ViteWatch
CreateController
CreateFormWidget
CreateReportWidget
UserCreate
WinterPasswd

Console command to change the password of a Backend user via CLI.

CreateComponent
CreateTheme
ThemeInstall

Console command to install a new theme.

ThemeList

Console command to list themes.

ThemeRemove

Console command to remove a theme.

ThemeSync

Console command to sync a theme between the DB and Filesystem layers.

ThemeUse

Console command to switch themes.

Command

Command base class Contains utilities to make developing CLI commands nicer

GeneratorCommand

Generator command.

Copyright © 2024 Winter CMS