Permalink
Browse files

Add Perl Makefile and top-level linode POD

  • Loading branch information...
Trevor Parker
Trevor Parker committed Jan 13, 2014
1 parent 5152e3c commit b82b7c259b4d20c2cfc75252c6924fbeb72b4da2
Showing with 88 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +14 −0 MANIFEST.SKIP
  3. +28 −0 Makefile.PL
  4. +43 −0 linode
View
@@ -0,0 +1,3 @@
MANIFEST.bak
Makefile
Makefile.old
View
@@ -0,0 +1,14 @@
.*\._.*
.*\.DS_Store.*
.*\.git.*
.*\.perltidyrc.*
# Makemaker generated files and dirs.
^MANIFEST\.bak
^Makefile$
^blib/
^MakeMaker-\d
pm_to_blib
\.tar\.gz
\.tar
\.tmp
View
@@ -0,0 +1,28 @@
use strict;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Linode::CLI',
VERSION_FROM => 'lib/Linode/CLI/Util.pm',
ABSTRACT => 'A simple command-line interface to the Linode platform.',
AUTHOR => 'Linode, LLC',
PREREQ_PM => {
'Crypt::SSLeay' => 0,
'JSON' => 0,
'LWP::UserAgent' => 0,
'Mozilla::CA' => 0,
'Try::Tiny' => 0,
'WebService::Linode' => 0,
},
PMLIBDIRS => [
'lib/Linode',
],
EXE_FILES => [
'linode',
'linode-account',
'linode-domain',
'linode-linode',
'linode-stackscript',
],
);
View
43 linode
@@ -26,3 +26,46 @@ $object = 'linode'
unless ( defined($object) && ( my @found = grep { $_ eq $object } @MODES ) );
exec( $FindBin::RealBin . "/linode-$object", @ARGV );
__END__
=head1 NAME
linode - command-line interface to the Linode platform
=head1 SYNOPSIS
B<linode> [B<--object> object] [object-options...]
This is a wrapper utility to the suite of Linode command line tools.
=head2 Objects
The following command line tools are available, and can be called directly or
with B<linode object>.
=over 8
=item B<linode-account>
Interface to Linode account information. Use B<man linode-account> or
B<linode-account --help> for more information.
=item B<linode-domain>
Interface to Linode domains and DNS records. Use B<man linode-domain> or
B<linode-domain --help> for more information.
=item B<linode-linode>
Interface to Linode instances. Use B<man linode-linode> or
B<linode-linode --help> for more information.
=item B<linode-stackscript>
Interface to StackScripts. Use B<man linode-stackscript> or
B<linode-stackscript --help> for more information.
=back
=cut

0 comments on commit b82b7c2

Please sign in to comment.