mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
20 lines
412 B
PHP
20 lines
412 B
PHP
<?php
|
|
|
|
namespace App\Commands;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
|
{
|
|
protected $signature = 'share-cwd {host?} {--subdomain=} {--auth=}';
|
|
|
|
public function handle()
|
|
{
|
|
$this->input->setArgument('host', basename(getcwd()).'.test');
|
|
|
|
$this->input->setOption('subdomain', basename(getcwd()));
|
|
|
|
parent::handle();
|
|
}
|
|
}
|