{"id":7441,"date":"2022-12-20T19:38:07","date_gmt":"2022-12-20T22:38:07","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolssharedguicommandline-man3\/"},"modified":"2022-12-20T19:38:07","modified_gmt":"2022-12-20T22:38:07","slug":"manatoolssharedguicommandline-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolssharedguicommandline-man3\/","title":{"rendered":"ManaTools::Shared::GUI::CommandLine (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::Shared::GUI::CommandLine<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SUPPORT\">SUPPORT<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT and LICENSE\">COPYRIGHT and LICENSE<\/a><br \/> <a href=\"#FUNCTIONS\">FUNCTIONS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Manatools::Shared::GUI::CommandLine \u2212 Shared CommandLine extension with some yui parameters explanation<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">use ManaTools::Shared::GUI::CommandLine; <br \/> my $cl = ManaTools::Shared::GUI::CommandLine\u2212>new_with_options(); <br \/> $cl\u2212>usage(); <br \/> # to extend it <br \/> use Moose; <br \/> extends &#8216;ManaTools::Shared::GUI::CommandLine&#8217;; <br \/> use ManaTools::Shared::Locales; <br \/> my $loc = ManaTools::Shared::Locales\u2212>new(); <br \/> has &#8216;new_option&#8217; => ( <br \/> traits => [ &#8216;Getopt&#8217; ], <br \/> is => &#8216;ro&#8217;, <br \/> documentation => $loc\u2212>N(&#8216;we have a new option to manage here&#8217;) <br \/> ); <br \/> &#8230; <br \/> # check if new option is set <br \/> if ($cl\u2212>new_option) { <br \/> &#8230; <br \/> }<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This class extends ManaTools::Shared::CommandLine adding the documentation for option such as <br \/> \u2212\u2212qt, \u2212\u2212gtk and \u2212\u2212ncurses, options that are common to every Manatools::Module module, since they <br \/> use yui module.<\/p>\n<h2>SUPPORT <a name=\"SUPPORT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">You can find documentation for this module with the perldoc command: <br \/> perldoc Manatools::Shared::GUI::CommandLine<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Manatools::Shared::CommandLine, MooseX::GetOpt<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Angelo Naselli <anaselli@linux.it><\/p>\n<h2>COPYRIGHT and LICENSE <a name=\"COPYRIGHT and LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 2015\u22122017, Angelo Naselli. <br \/> This program is free software; you can redistribute it and\/or modify <br \/> it under the terms of the GNU General Public License version 2, as <br \/> published by the Free Software Foundation. <br \/> This program is distributed in the hope that it will be useful, <br \/> but WITHOUT ANY WARRANTY; without even the implied warranty of <br \/> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <br \/> GNU General Public License for more details. <br \/> You should have received a copy of the GNU General Public License <br \/> along with this program; if not, write to the Free Software <br \/> Foundation, Inc., 59 Temple Place \u2212 Suite 330, Boston, MA 02111\u22121307, USA<\/p>\n<h2>FUNCTIONS <a name=\"FUNCTIONS\"><\/a> <\/h2>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  Manatools::Shared::GUI::CommandLine \u2212 Shared CommandLine extension with some yui parameters explanation <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3753],"class_list":["post-7441","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolssharedguicommandline"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7441"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7441\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}