From 5e4e9675d39413c22568100372bc82f07495a700 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Tue, 29 Jun 2010 22:38:57 -0700 Subject: First run at lsaccess and lsrepo. --- usr/src/pinyadmin/bin/lsrepo | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 usr/src/pinyadmin/bin/lsrepo (limited to 'usr/src/pinyadmin/bin/lsrepo') diff --git a/usr/src/pinyadmin/bin/lsrepo b/usr/src/pinyadmin/bin/lsrepo new file mode 100755 index 0000000..1587654 --- /dev/null +++ b/usr/src/pinyadmin/bin/lsrepo @@ -0,0 +1,12 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Piny; + +my $env = Piny::Environment->new( ); + +foreach my $repo ( Piny::Repo->all_repos( ) ) { + print $repo->name . "\n"; +}; -- cgit v1.2.3