From 4a19966c3bb9f7dce1cca158163d583a33458723 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 26 Jan 2011 14:42:17 +0100 Subject: import --- dirsh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 dirsh (limited to 'dirsh') diff --git a/dirsh b/dirsh new file mode 100755 index 0000000..b48a2e5 --- /dev/null +++ b/dirsh @@ -0,0 +1,37 @@ +#!/usr/bin/env perl + +use lib './blib/lib/'; +use LDAPShell; +use Getopt::Long; + +my $usage=<0,'help'=>0); +my @args = ("config=s","verbose+","help!","template=s"); +GetOptions(\%args,@args) or die $usage; +die $usage if $args{help}; + +my $shell = LDAPShell->new($ini); +$shell->loop(); -- cgit v1.1