App::Dochazka::CLI - Dochazka command line client
Version 0.240
Dochazka command line client.
bash$ dochazka-cli Dochazka(2014-08-08) demo>
App::Dochazka::CLI is the Command Line Interface (CLI) component of the Dochazka Attendance & Time Tracking system.
In order to work, the CLI must be pointed at a running App::Dochazka::REST (i.e., Dochazka REST server) instance by setting the MREST_CLI_URI_BASE meta configuration parameter.
MREST_CLI_URI_BASE
Detailed documentation covering configuration, deployment, and the commands that can be used with the CLI can be found in App::Dochazka::CLI::Guide.
This module is used to store some "global" package variables that are used throughout the CLI code base.
$current_emp
The App::Dochazka::Common::Model::Employee object of the current employee.
$current_priv
The privlevel of the current employee.
$debug_mode
Tells parser whether to display debug messages
$prompt_century
The century component of $prompt_date; see App::Dochazka::CLI::Util
$prompt_date
The date displayed in the prompt -- see bin/dochazka-cli and App::Dochazka::CLI::Util
bin/dochazka-cli
$prompt_day
The day component of $prompt_date; see App::Dochazka::CLI::Util
$prompt_month
The month component of $prompt_date; see App::Dochazka::CLI::Util
$prompt_year
The year component of $prompt_date; see App::Dochazka::CLI::Util
To install App::Dochazka::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dochazka::CLI
CPAN shell
perl -MCPAN -e shell install App::Dochazka::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.