Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
App::CLI::Command::VerUser(Contributed Perl DocumApp::CLI::Command::Version(3)

NAME
       App::CLI::Command::Version - Print a preformatted version string

SYNOPSIS
	   package MyApp;
	   use base qw(App::CLI	App::CLI::Command);

	   use constant	alias => (
	       '--version' => '+App::CLI::Command::Version',
		 'version' => '+App::CLI::Command::Version',
	       # Other aliases
	   );

	   # Your app now supports a default version command and option

DESCRIPTION
       This is package provides	a default "version" command modelled after
       that of App::Cmd. You can modify	the default message by subclassing
       this command and	overriding its "run" method, or	by modifying it	with
       eg. Class::Method::Modifiers.

perl v5.32.1			  2017-11-01	 App::CLI::Command::Version(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=App::CLI::Command::Version&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help