NAME
App::SpreadRevolutionaryDate::Config - Subclass of App::SpreadRevolutionaryDate to handle configuration file and command line arguments.
VERSION
version 0.02
METHODS
new
Constructor class method, subclassing AppConfig
. Takes no argument. Returns an App::SpreadRevolutionaryDate::Config
object.
parse_file
Parses configuration file. Takes one optional argument: $filename
which should be the file path or an opened file handle of your configuration path, defaults to ~/.config/spread-revolutionary-date/spread-revolutionary-date.conf
or ~/.spread-revolutionary-date.conf
.
parse_command_line
Parses command line options. Takes no argument.
check_twitter
Checks whether Twitter configuration options are set to authenticate on Twitter. Takes no argument.
check_mastodon
Checks whether Mastodon configuration options are set to authenticate on Mastodon. Takes no argument.
check_freenode
Checks whether Freenode configuration options are set to authenticate on Freenode. Takes no argument.
AUTHOR
Gérald Sédrati-Dinet <gibus@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 by Gérald Sédrati-Dinet.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007