vito/app/SSHCommands/SSL/RemoveSSLCommand.php
Saeed Vaziry e1eb42059f code style fix
add command tests
2023-09-02 16:41:42 +02:00

23 lines
345 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.'*';
}
}