#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
use Data::Dumper;
use FindBin '$Bin';
use lib "$Bin/../../lib";

use API::CLI;
use API::CLI::App::Spec;

my $appspec_file = "$Bin/../githubcl-appspec.yaml";
my $spec = API::CLI::App::Spec->read($appspec_file);
my $runner = App::Spec::Run->new(
    spec => $spec,
    cmd => API::CLI->new(
        dir => "$ENV{HOME}/.githubcl",
    ),
);
$runner->run;
