vito/app/SSHCommands/RemoveSSLCommand.php
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

24 lines
370 B
PHP
Executable File

<?php
namespace App\SSHCommands;
class RemoveSSLCommand extends Command
{
protected $path;
public function __construct($path)
{
$this->path = $path;
}
public function file(string $os): string
{
return '';
}
public function content(string $os): string
{
return 'sudo rm -rf '.$this->path.'*'."\n";
}
}