1 package Gitalist::ScriptRole;
3 use MooseX::Types::Moose qw/ Undef /;
4 use MooseX::Types::Common::String qw/NonEmptySimpleStr/;
5 use namespace::autoclean;
8 isa => Undef | NonEmptySimpleStr,
11 return unless exists $ENV{GITALIST_REPO_DIR};
12 $ENV{GITALIST_REPO_DIR};
20 Gitalist::ScriptRole - Role for Gitalist scripts.
24 Wraps the run method in Catalyst scripts to apply the C<< --repo_dir >>
29 See L<Gitalist> for authors.
33 See L<Gitalist> for the license.