Add docs to ScriptRole
Tomas Doran [Sun, 10 Jan 2010 22:41:49 +0000 (22:41 +0000)]
lib/Gitalist/ScriptRole.pm

index ef7d37e..db59bab 100644 (file)
@@ -22,3 +22,21 @@ before 'run' => sub {
 
 1;
 
+=head1 NAME
+
+Gitalist::ScriptRole - Role for Gitalist scripts.
+
+=head1 DESCRIPTION
+
+Wraps the run method in Catalyst scripts to apply the C<< --repo_dir >>
+option.
+
+=head1 AUTHORS
+
+See L<Gitalist> for authors.
+
+=head1 LICENSE
+
+See L<Gitalist> for the license.
+
+=cut