Monitor
POD
NAME
App::Tasks::Config::Monitor - Monitor Configuration for App::Tasks
SYNOPSIS
my $monitor = App::Tasks::Config::Monitor.new() $monitor.process-config(%config) say "We will display time" if $monitor.display-time;
DESCRIPTION
This handles the "monitor" command configuration for App::Tasks. Note
that this module is intended to be instantiated only via App::Tasks::Config.
FILE FORMAT
monitor: display-time: Yes
This module will parse the monitor section of the configuration YAML file.
CLASS METHODS
process-config
my $monitor = App::Tasks::Config::Monitor.new(); $monitor->process-config(%config);
This method takes a hash which represents the parsed YAML configuration file.
It will process the monitor section of that configuration file.
ATTRIBUTES
display-time
If true, time should be displayed by the task monitor command.
AUTHOR
Joelle Maslak <[email protected]>
LEGAL
Licensed under the same terms as Perl 6.
Copyright Ā© 2018-2023 by Joelle Maslak