marko / cli
Marko Framework CLI
0.0.1
2026-03-25 17:53 UTC
Requires
- php: ^8.5
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-03-25 21:07:20 UTC
README
Global command-line tool --- run marko from any project directory to execute commands.
Installation
composer global require marko/cli
Quick Example
use Marko\Core\Attributes\Command; use Marko\Core\Command\CommandInterface; use Marko\Core\Command\Input; use Marko\Core\Command\Output; #[Command(name: 'greet', description: 'Say hello')] class GreetCommand implements CommandInterface { public function execute(Input $input, Output $output): int { $output->writeLine('Hello, World!'); return 0; } }
Documentation
Full usage, API reference, and examples: marko/cli