Git::Wrapper::Plus::Support::Arguments - Database of command argument support data
version 0.004011
commands
Returns a list of git commands we have support data for.
git
for my $cmd ( $arg->commands ) { }
arguments
Returns a list of argument names we have support data for, with the given command
for my $argument ( $arg->arguments('cat-file') ) { }
has_command
Determines if a given command is listed in the support data
if ( $arg->has_command('cat-file') ) { }
has_argument
Determines if a given argument is listed in the support data
argument
if ( $arg->has_argument('cat-file', '-e' ) ) { }
argument_supports
Determine if a given argument is supported by a given git version
$arg->argument_support( 'cat-file', '-e', $GWP->versions );
entries
2D Hash of command/argument/ranges
Though you never want to deal with this complex data directly...
cat-file => { ::RangeDictionary->new( dictionary => { '-e' => RangeSet->new( items => [ Range->new( min => '1.0.0' ) ] ) }, ), };
cat-file
-e
cat-file -e Was added in Git 1.0.0
cat-file -e
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Git::Wrapper::Plus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Wrapper::Plus
CPAN shell
perl -MCPAN -e shell install Git::Wrapper::Plus
For more information on module installation, please visit the detailed CPAN module installation guide.