vito/app/SSHCommands/SSL/RemoveSSLCommand.php
2023-08-04 18:28:04 +02:00

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";
}
}