diff options
author | ivan <ivan> | 2008-08-21 23:22:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-21 23:22:04 +0000 |
commit | c1297541457bdfce910e7013cd6dc24254347852 (patch) | |
tree | 63fa7efbba22084d7a1237c47a3500177dedd419 /FS/bin | |
parent | 9080a8d56896cfa2fe3f696fe087d7283d13f52c (diff) |
add the client-side reporting for MCP mode
Diffstat (limited to 'FS/bin')
-rw-r--r-- | FS/bin/freeside-yori | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/FS/bin/freeside-yori b/FS/bin/freeside-yori new file mode 100644 index 000000000..d1137995d --- /dev/null +++ b/FS/bin/freeside-yori @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use FS::Yori qw(reports report); + +if ( @ARGV ) { + while ( my $report = shift ) { + print report($report). "\n"; + } +} else { + print join("\n", reports() ). "\n"; +} + + +1; |