marko/cli
最新稳定版本:0.6.0
Composer 安装命令:
composer require marko/cli
包简介
Marko Framework CLI
README 文档
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
统计信息
- 总下载量: 792
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24