Commit | Line | Data |
---|---|---|
3bda999e | 1 | package Devel::REPL::Profile::Minimal; |
4d33251a | 2 | |
c45376f3 | 3 | our $VERSION = '1.003029'; |
54beb05d | 4 | |
4d33251a | 5 | use Moose; |
aa8b7647 | 6 | use namespace::autoclean; |
4d33251a | 7 | |
8 | with 'Devel::REPL::Profile'; | |
9 | ||
10 | sub plugins { | |
91d1e9ff | 11 | qw(History LexEnv DDS Packages Commands MultiLine::PPI); |
4d33251a | 12 | } |
13 | ||
14 | sub apply_profile { | |
15 | my ($self, $repl) = @_; | |
16 | $repl->load_plugin($_) for $self->plugins; | |
17 | } | |
18 | ||
19 | 1; |