[Bps-public-commit] r15069 - in sd/trunk: .
spang at bestpractical.com
spang at bestpractical.com
Tue Aug 12 09:15:13 EDT 2008
Author: spang
Date: Tue Aug 12 09:15:13 2008
New Revision: 15069
Modified:
sd/trunk/ (props changed)
sd/trunk/lib/App/SD/CLI/Command.pm
Log:
r47301 at loki: spang | 2008-07-29 19:14:09 +0100
add pod for get_content
Modified: sd/trunk/lib/App/SD/CLI/Command.pm
==============================================================================
--- sd/trunk/lib/App/SD/CLI/Command.pm (original)
+++ sd/trunk/lib/App/SD/CLI/Command.pm Tue Aug 12 09:15:13 2008
@@ -2,6 +2,16 @@
use Moose::Role;
use Path::Class;
+=head2 get_content %args
+
+This is a helper routine for use in SD commands to enable getting records
+in different ways, such as from a file, on the commandline, or from an
+editor. Returns the record content.
+
+Valid keys in %args are type and default_edit => bool.
+
+=cut
+
sub get_content {
my $self = shift;
my %args = @_;
More information about the Bps-public-commit
mailing list