2017 © Pedro Peláez
 

library which-cli

A symfony/console command similar to the standard which command.

image

nubs/which-cli

A symfony/console command similar to the standard which command.

  • Sunday, September 25, 2016
  • by nubs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Which CLI

A PHP symfony/console command similar to the standard which command., (*1)

Build Status Scrutinizer Code Quality Code Coverage, (*2)

Latest Stable Version Total Downloads License, (*3)

Dependency Status, (*4)

Requirements

This script requires PHP 5.6, or newer., (*5)

Installation

This package uses composer so you can install it using composer. Composer can install the command globally using:, (*6)

composer global require nubs/which-cli

This will install it to your $COMPOSER_HOME directory (typically $HOME/.composer). The which binary will be symlinked to $COMPOSER_HOME/vendor/bin/which (e.g., $HOME/.composer/vendor/bin/which)., (*7)

Usage

The included which executable works much like the standard which utility. It takes an arbitrary number of parameters and outputs the path to each of them., (*8)

$ which more vim foo
/bin/more
/usr/bin/vim
foo not found

For windows users, composer will create a which.bat script in its bin directory that can be executed in much the same way as on a POSIX system. Alternatively, a which.bat script is included. You may need to add the bin directory from this repository to your PATH environment variable to be able to access the command globally., (*9)

License

which-cli is licensed under the MIT license. See LICENSE for the full license text., (*10)

The Versions

25/09 2016

dev-master

9999999-dev

A symfony/console command similar to the standard which command.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart

windows linux path script executable which

10/07 2014

v1.0.0

1.0.0.0

A symfony/console command similar to the standard which command.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Spencer Rinehart

windows linux path script executable which