Rewrite config to be seperate from path
This commit is contained in:
@ -6,7 +6,7 @@ require_once __DIR__ . '/../functions.php';
|
||||
require_once __DIR__ . '/../snips.php';
|
||||
require_once __DIR__ . '/../config.php';
|
||||
|
||||
$config = new config('snips');
|
||||
$config = new homeConfig('snips');
|
||||
$argvParser = new argvParser(['f' => 'File', 'a' => 'Api key', 's' => 'Shortcut'], ['c' => 'Command', 'id' => 'Snip id']);
|
||||
$parsed = $argvParser->parseArgv($argv);
|
||||
if ($parsed === false) {
|
||||
|
Reference in New Issue
Block a user