#!/usr/bin/env php
<?php

require_once __DIR__.'/../../vendor/autoload.php';

use Ayuco\Listener;
use WPMVC\Commands\SetupCommand;
use WPMVC\Commands\RegisterCommand;
use WPMVC\Commands\CreateCommand;
use WPMVC\Commands\AddCommand;
use WPMVC\Commands\SetCommand;
use WPMVC\Commands\GenerateCommand;
use WPMVC\Commands\PrettifyCommand;


$ayuco = new Listener();

$ayuco->register(new SetupCommand(__DIR__));
$ayuco->register(new RegisterCommand(__DIR__));
$ayuco->register(new CreateCommand(__DIR__));
$ayuco->register(new AddCommand(__DIR__));
$ayuco->register(new SetCommand(__DIR__));
$ayuco->register(new GenerateCommand(__DIR__));
$ayuco->register(new PrettifyCommand(__DIR__));

$ayuco->interpret();
