NAME
App::Dochazka::CLI - Dochazka command line client
VERSION
Version 0.240
SYNOPSIS
Dochazka command line client.
bash$ dochazka-cli
Dochazka(2014-08-08) demo>
DESCRIPTION
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.
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.
PACKAGE VARIABLES AND EXPORTS
$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$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