mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
23 lines
350 B
PHP
Executable File
23 lines
350 B
PHP
Executable File
<?php
|
|
|
|
namespace App\SSHCommands\SSL;
|
|
|
|
use App\SSHCommands\Command;
|
|
|
|
class RemoveSSLCommand extends Command
|
|
{
|
|
public function __construct(protected string $path)
|
|
{
|
|
}
|
|
|
|
public function file(): string
|
|
{
|
|
return '';
|
|
}
|
|
|
|
public function content(): string
|
|
{
|
|
return 'sudo rm -rf '.$this->path.'*'."\n";
|
|
}
|
|
}
|