feat(cli): pure alias-based dispatcher in project bin; Commands\Toolbox entry point; describe() required on CommandInterface
BREAKING: project commands implementing CommandInterface must define static describe(): string (intentional, forces documentation).
This commit is contained in:
@@ -10,4 +10,10 @@ interface CommandInterface
|
||||
* @return void
|
||||
*/
|
||||
public function run(): void;
|
||||
|
||||
/**
|
||||
* Descripción de una línea del comando, obligatoria: fuerza a documentar
|
||||
* cada comando del proyecto para que sea visible en la superficie.
|
||||
*/
|
||||
public static function describe(): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user