NAME

Git::DescribeVersion::App - Provide a simple way to run Git::DescribeVersion as an app

VERSION

version 0.004008

SYNOPSIS

Print out the version from Git::DescribeVersion in one line:

perl -MGit::DescribeVersion::App -e run

Arguments can be passed in a hash or hashref just like the constructor:

perl -MGit::DescribeVersion::App -e 'run(match_pattern => "rev-*")'

Or can be environment variables spelled like GIT_DV_OPTION:

export GIT_DV_MATCH_PATTERN="rev-*"
perl -MGit::DescribeVersion::App -e run

This (hopefully) makes it easy for you to write the alias, function, Makefile or script that does exactly what you want.

If not, feel free to send me suggestions (or patches) that you think would make it simpler or more powerful.

AUTHOR

Randy Stauner <rwstauner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Randy Stauner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.