Files
expose/app/Commands/ShareCurrentWorkingDirectoryCommand.php
Marcel Pociot 9ce19f975e wip
2020-04-24 12:37:31 +02:00

18 lines
345 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');
parent::handle();
}
}