diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-12-22 23:43:57 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-12-22 23:43:57 +0100 |
commit | 5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0 (patch) | |
tree | e890cc1c73fed2a3955f26d12ed4b402eea2635c | |
parent | 4a576c83ee603ad92a9dcd0333e8fa47a9b8fb28 (diff) | |
download | manatools-5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0.tar manatools-5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0.tar.gz manatools-5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0.tar.bz2 manatools-5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0.tar.xz manatools-5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0.zip |
Added conf-dir option to get local configuration
-rw-r--r-- | lib/ManaTools/Shared/GUI/CommandLine.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/GUI/CommandLine.pm b/lib/ManaTools/Shared/GUI/CommandLine.pm index 940566da..67adeb33 100644 --- a/lib/ManaTools/Shared/GUI/CommandLine.pm +++ b/lib/ManaTools/Shared/GUI/CommandLine.pm @@ -99,6 +99,15 @@ has 'qt' => ( documentation => $loc->N('start using yui qt plugin implementation') ); +has 'conf_dir' => ( + traits => [ 'Getopt' ], + isa => 'Str', + is => 'ro', + cmd_flag => 'conf-dir', + documentation => $loc->N('<dir> optional directory containing configuration files for each module (e.g. modulename/config_files)',) +); + + no Moose; __PACKAGE__->meta->make_immutable; |