[Bps-public-commit] r14687 - in sd: trunk/lib/App/SD/CLI
spang at bestpractical.com
spang at bestpractical.com
Thu Jul 31 07:48:02 EDT 2008
Author: spang
Date: Thu Jul 31 07:48:02 2008
New Revision: 14687
Modified:
sd/ (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 Thu Jul 31 07:48:02 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