diff --git a/app/Commands/ShareFilesCommand.php b/app/Commands/ShareFilesCommand.php deleted file mode 100644 index 52c5995..0000000 --- a/app/Commands/ShareFilesCommand.php +++ /dev/null @@ -1,37 +0,0 @@ -argument('folder'))) { - throw new \InvalidArgumentException('The folder '.$this->argument('folder').' does not exist.'); - } - - $auth = $this->option('auth') ?? config('expose.auth_token', ''); - - (new Factory()) - ->setLoop(app(LoopInterface::class)) - ->setHost($this->getServerHost()) - ->setPort($this->getServerPort()) - ->setAuth($auth) - ->createClient() - ->shareFolder( - $this->argument('folder'), - $this->option('name') ?? '', - explode(',', $this->option('subdomain')), - $this->option('domain') - ) - ->createHttpServer() - ->run(); - } -}