From 5c23bbd1b8e413a65a138c9bc3ef0ca061652ab0 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 22 Dec 2015 23:43:57 +0100 Subject: Added conf-dir option to get local configuration --- lib/ManaTools/Shared/GUI/CommandLine.pm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/ManaTools/Shared/GUI/CommandLine.pm') 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(' optional directory containing configuration files for each module (e.g. modulename/config_files)',) +); + + no Moose; __PACKAGE__->meta->make_immutable; -- cgit v1.2.1