2017 © Pedro Peláez
 

library lazy-bin

Runs various commands to save me a few keystrokes

image

rmiller/lazy-bin

Runs various commands to save me a few keystrokes

  • Friday, November 21, 2014
  • by mr_r_miller
  • Repository
  • 2 Watchers
  • 2 Stars
  • 701 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

LazyBin

Scrutinizer Code Quality Build Status, (*1)

Runs various commands to save me a few keystrokes., (*2)

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., (*3)

Installation

This extension requires:, (*4)

  • PHP 5.5+

The easiest way to install it is to use Composer, (*5)

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

Configuration

It needs a lazybin.yml file in the directory it is run from., (*6)

Example:, (*7)

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:, (*8)

Choice of commands, (*9)

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:, (*10)

extra arguments, (*11)

Disclaimer

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

The Versions

21/11 2014

dev-master

9999999-dev

Runs various commands to save me a few keystrokes

  Sources   Download

MIT

The Requires