定制 minicli/command-help 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

minicli/command-help

最新稳定版本:1.0.1

Composer 安装命令:

composer require minicli/command-help

包简介

A help command for Minicli

README 文档

README

Default help command. This will auto-generate a command/sub-command tree based on all commands registered within the CommandRegistry, and print it to users that call './minicli help'.

Usage

First, import this command with Composer:

composer require minicli/command-help

Then, edit your app's config to include @minicli/command-help within your app_path definitions. For instance:

$app = new App([
    'app_path' => [
            __DIR__ . '/app/Command',
            '@minicli/command-help'
        ],
    'debug' => true
]);

You should now be able to run the ./minicli help command and obtain output that will vary depending on your own implemented commands. Here is an example:

Available Commands

help
└──table
└──test

统计信息

  • 总下载量: 9.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 12
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-02