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

if (file_exists(__DIR__.'/../../../autoload.php')) {
    require __DIR__.'/../../../autoload.php';
} else {
    require __DIR__.'/../vendor/autoload.php';
}


$application = new Symfony\Component\Console\Application();

$application->add(
    $command = new Farzai\PromptPay\Commands\CreateQrCode()
);

$application
    ->setDefaultCommand($command->getName(), true)
    ->run();
