gich

command module
v0.0.0-...-15f5c30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2012 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Description
------------
    gich is a cross platform which tool written in Go

    A which utility takes a list of command names and searches 
    the system's path for each executable file that would be run had
    these commands actually been invoked.

Compiling
---------
    $ hg clone bitbucket.org/jpoirier/gich
    $ go build gich.go
    
    Then move the gich executable somewhere in you system path.

Testing
-------


Usage
-----
    gich [-a|-s|-h|-help] file ...
        -a  List all executable instances found rather than just the first one.
        -s  Output 'Found' if any of the executables were found and 'None' if none were found
        -h  Print this usage message
        -help  Print this usage message

Examples
--------
    nix:
        > gich -l ls cat sh

    windows:
        > gich -l ping calc cmd

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL