mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
24 lines
370 B
PHP
Executable File
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";
|
|
}
|
|
}
|