定制 rmiller/lazy-bin 二次开发

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

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

rmiller/lazy-bin

Composer 安装命令:

composer require rmiller/lazy-bin

包简介

Runs various commands to save me a few keystrokes

README 文档

README

Scrutinizer Code Quality Build Status

Runs various commands to save me a few keystrokes.

Running various commands e.g. behat and phpspec while developing means that the one I want is not always the last command. By configuring lazybin to run various commands it can always be the last run command and accessed with the up key. The configured commands can be run by digit e.g. 1.

Installation

This extension requires:

  • PHP 5.5+

The easiest way to install it is to use Composer

$ composer require --dev rmiller/lazy-bin:dev-master

Configuration

It needs a lazybin.yml file in the directory it is run from.

Example:

commands:
  - "./bin/phpspec run"
  - "./bin/behat --append-snippets"
  - "./bin/behat --rerun"
  - {command:"./bin/phpspec describe", extra: true}
  - {command:"./bin/phpspec exemplify", extra: true}

Running bin/lazybin will give:

Choice of commands

Choosing one of the options with extra set to true, will ask for further arguments. For example the phpspec describe command needs to be given the class being described:

extra arguments

Disclaimer

This works for me on osx, no idea if it will work for anyone else.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固