Skip to content
Snippets Groups Projects
Commit 1818e7ea authored by Guilherme Arthur Gerônimo's avatar Guilherme Arthur Gerônimo
Browse files

Refactor Command.php

parent f3e06b10
No related branches found
No related tags found
No related merge requests found
......@@ -4,34 +4,8 @@ require_once './Console/CommandLine.php';
require_once './Console/CommandLine/Option.php';
require_once './Console/CommandLine/Command.php';
//require_once __DIR__.'/Console/CommandLine.php';
//require_once __DIR__.'/Console/CommandLine/Option.php';
//require_once __DIR__.'/Console/CommandLine/Command.php';
//require_once __DIR__.'/../Config.php';
//use SmartData\Config;
final class Config
{
const MYSQL_SEVERNAME = 'localhost';
const MYSQL_PORT = 3306;
const MYSQL_DBNAME = 'smartdata_v1';
const MYSQL_USERNAME = 'smartdata';
const MYSQL_PASSWORD = '1ol31lSh010mG9wY';
const MYSQL_SUPERUSER = 'smartdata_admin';
const MYSQL_SUPERPASS = '6wg5fbB5fOIuzXcW';
const CASSANDRA_SERVERNAME = 'localhost';
const CASSANDRA_PORT = 9042;
const CASSANDRA_SUPERUSER = 'cassandra';
const CASSANDRA_SUPERPASS = 'Pdx#W63$B7-pNv'; //'K#dM841-lwx';
const CASSANDRA_KEYSPACE = 'smartdata_v1';
const CASSANDRA_MAX_ROW_SIZE = 2000000000; //%(Two billion - The max is 2^31)
}
require_once __DIR__.'/../Config.php';
use SmartData\Config\Config_V1_1 as Config;
$parser = new Console_CommandLine(array(
'description' => 'description description description description.',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment