承接 kdauzickas/console-alias 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kdauzickas/console-alias

最新稳定版本:v0.1.1

Composer 安装命令:

composer require kdauzickas/console-alias

包简介

Helper to quickly define aliases for commands

README 文档

README

This minimal bundle allows you to quickly define console commands that can be either aliases for other symfony console commands or actual shell commands.

Installation

  1. Run composer require kdauzickas/console-alias
  2. Add new KD\Console\AliasBundle\KDConsoleAliasBundle() to $bundles in your AppKernel

Configuration

Commands are created from what is defined in your config.yml. Configuration shoud be done in the manner shown below. Only name and command fields are mondatory.

kd_console_alias:
    commands:
        commandName:
            name: "command name that will be used to call the command"
            description: "description to be shown in command list"
            console: "is this a symfony console command alias? Default: false"
            command: "actual command"
            arguments:
                - list of
                - arguments
                - to be passed
                - to the command

Example:

kd_console_alias:
    commands:
        pmd:
            name: pmd
            description: Run phpmd
            command: bin/phpmd
            arguments:
                - src
                - text
                - cleancode,codesize,controversial,design,naming,unusedcode

        config:
            name: "c:d"
            description: Alias of the config:debug symfony command
            command: "config:debug"
            console: true

This will allow you to run a command app/console pmd that will execute bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode. Command app/console c:d will execute app/console config:debug

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固