tempest/console

The console component provides a way to build commands within the framework or standalone command-line applications.

v1.0.0-alpha.3 2024-10-31 09:03 UTC

This package is auto-updated.

Last update: 2024-11-20 09:08:51 UTC


README

composer require tempest/console
final readonly class Hello
{
    public function __construct(private Console $console) {}

    #[ConsoleCommand]
    public function world(): void
    {
        $this->console->writeln('Hello World!');
    }
}

Get started here

Join the Tempest Discord