transmission client
This commit is contained in:
parent
87f4467b3d
commit
7be9358f75
|
@ -11,21 +11,20 @@
|
|||
"email": "simon+github@deblan.fr"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"symfony/process": "~2.6"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"": "src/"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"symfony/process": "~2.6",
|
||||
"symfony/console": "2.*",
|
||||
"psr/log": "1.0.0",
|
||||
"symfony/finder": "~2.6",
|
||||
"symfony/yaml": "~2.6",
|
||||
"symfony/filesystem": "3.0.x-dev",
|
||||
"guzzlehttp/guzzle": "~5.2"
|
||||
"guzzlehttp/guzzle": "~5.2",
|
||||
"vohof/transmission": "~1.0"
|
||||
}
|
||||
}
|
||||
|
|
1
console
1
console
|
@ -9,5 +9,6 @@ $app = new Application();
|
|||
|
||||
$app
|
||||
->chdir(__DIR__)
|
||||
->addCommandsPath('src/Transmission/Command', 'Transmission\\Command')
|
||||
->loadCommands()
|
||||
->run();
|
||||
|
|
|
@ -27,9 +27,8 @@ class Application extends BaseApplication
|
|||
|
||||
public function loadCommands()
|
||||
{
|
||||
$finder = new Finder();
|
||||
|
||||
foreach ($this->commandsPaths as $path => $namespace) {
|
||||
$finder = new Finder();
|
||||
$finder->files('*Command.php')->in($path);
|
||||
|
||||
foreach ($finder as $file) {
|
||||
|
|
Loading…
Reference in a new issue