Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
First Commit
  • Loading branch information
thyngster committed Nov 16, 2016
1 parent d696848 commit 3f6484d
Show file tree
Hide file tree
Showing 505 changed files with 60,559 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vendor/autoload.php
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitd899dbdd7b6bab1ecf1afdb8a7711305::getLoader();
25 changes: 25 additions & 0 deletions vendor/bin/uaparser
@@ -0,0 +1,25 @@
#!/usr/bin/env php
<?php
namespace UAParser\Command;

use Symfony\Component\Console\Application;

$packageAutoloader = __DIR__ . '/../vendor/autoload.php';
$standaloneAutoloader = __DIR__ . '/../../../autoload.php';
if (file_exists($packageAutoloader)) {
require_once $packageAutoloader;
} else {
require_once $standaloneAutoloader;
}

$resourceDirectory = realpath(__DIR__ . '/../resources');
$defaultYamlFile = realpath(__DIR__ . '/../resources/regexes.yaml');

$application = new Application('ua-parser');
$application->add(new ConvertCommand($resourceDirectory, $defaultYamlFile));
$application->add(new UpdateCommand($resourceDirectory));
$application->add(new ParserCommand());
$application->add(new LogfileCommand());
$application->add(new FetchCommand($defaultYamlFile));

$application->run();

0 comments on commit 3f6484d

Please sign in to comment.