X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FGruntmaster%2FApp%2FCommand%2FSet.pm;h=406d013cbfb1167a0ae60f4c836885511033c3aa;hb=dcf7f640534d6ad6d0273ac5b8bb1e9892fcaa56;hp=b3754ddee359bd02e81616187f4818a2b33f1463;hpb=92f74061ec24c7d45c9312ae54280356530f6c8c;p=gruntmaster-data.git
diff --git a/lib/Gruntmaster/App/Command/Set.pm b/lib/Gruntmaster/App/Command/Set.pm
index b3754dd..406d013 100644
--- a/lib/Gruntmaster/App/Command/Set.pm
+++ b/lib/Gruntmaster/App/Command/Set.pm
@@ -11,7 +11,7 @@ use Gruntmaster::Data;
use File::Slurp qw/read_file/;
sub opt_spec {
- ['file!', 'Use the contents of a file as value'],
+ ['file!', 'Use the contents of a file as value']
}
sub usage_desc { "%c [-cjpu] set id column value [column value ...]\n%c [-cjpu] set --file id column filename [column filename ...]" }
@@ -33,3 +33,41 @@ sub execute {
1;
__END__
+
+=encoding utf-8
+
+=head1 NAME
+
+Gruntmaster::App::Command::Set - set a property of an object
+
+=head1 SYNOPSIS
+
+ gm -u set MGV name 'Marius Gavrilescu'
+ gm -p set aplusb level beginner
+ gm -c set test_ct 'This is a test contest.
Nothing to see here'
+ gm -j set 100 result_text Accepted
+
+=head1 DESCRIPTION
+
+The set command takes three arguments: an object id, a property name,
+and a value. It sets the given property of the given object to the
+given value.
+
+=head1 SEE ALSO
+
+L
+
+=head1 AUTHOR
+
+Marius Gavrilescu, Emarius@ieval.roE
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2015 by Marius Gavrilescu
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself, either Perl version 5.20.1 or,
+at your option, any later version of Perl 5 you may have available.
+
+
+=cut