#!/usr/bin/env perl use strict; use warnings; use lib 'lib'; use v5.14; use Getopt::Long qw/GetOptions/; use Pod::Usage; use Prima::noARGV;# do not let Prima use @ARGV use App::financeta; #parse arguments and set up options my %options = (verbose => 1); GetOptions(\%options, qw(help version verbose=i debug quiet plot_engine=s), ) or pod2usage(-verbose => 1, -noperldoc => 1, -exitval => 2); pod2usage(-verbose => 1, -noperldoc => 1, -exitval => 2) if $options{help}; App::financeta->print_banner if $options{verbose}; App::financeta->print_version_and_exit if $options{version}; App::financeta->run(%options); __END__ #### COPYRIGHT: 2013-2023. Vikas N Kumar. All Rights Reserved #### AUTHOR: Vikas N Kumar <vikas@cpan.org> #### DATE: 15th Aug 2014 =head1 NAME financeta =head1 SYNOPSIS ./bin/financeta financeta is a commandline application that invokes L<App::financeta> and starts a GUI for technical analysis of stocks. =head1 VERSION 0.15 =head1 OPTIONS B<--help> Print this help B<--version> Print version B<--verbose=[0|1|2]> Adjust verbosity. Default 1. B<--debug> Set verbosity to 2. Run other debug settings. B<--quiet> Set verbosity to 0. B<--plot_engine=[highcharts|gnuplot]> Plot engine to use: HighCharts or Gnuplot =head1 SEE ALSO =over =item L<App::financeta::gui> This is the GUI internal details being used by C<App::financeta>. =item L<App::financeta> This module just runs the application that calls C<App::financeta::gui>. =back =head1 COPYRIGHT Copyright (C) 2013-2023. Vikas N Kumar <vikas@cpan.org>. All Rights Reserved. =head1 LICENSE This is free software. You can redistribute it or modify it under the terms of GNU General Public License version 3. Refer LICENSE file in the top level source directory for more information.