1.0.0 Alpha Release #59

Merged
netkas merged 213 commits from v1.0.0_alpha into master 2023-01-29 23:27:58 +00:00
Showing only changes of commit 3fc50e04e5 - Show all commits

View file

@ -1,6 +1,8 @@
<?php /** @noinspection PhpMissingFieldTypeInspection */ <?php
namespace ncc\Utilities; /** @noinspection PhpMissingFieldTypeInspection */
namespace ncc\Utilities;
use Exception; use Exception;
use ncc\Abstracts\ConsoleColors; use ncc\Abstracts\ConsoleColors;
@ -439,6 +441,10 @@ namespace ncc\Utilities;
if(!ncc::cliMode()) if(!ncc::cliMode())
return null; return null;
Console::outWarning('passwordInput() is not properly implemented yet, defaulting to prompt');
return self::getInput($prompt);
/**
$executable_finder = new ExecutableFinder(); $executable_finder = new ExecutableFinder();
$bash_path = $executable_finder->find('bash'); $bash_path = $executable_finder->find('bash');
@ -454,6 +460,7 @@ namespace ncc\Utilities;
$password = rtrim(shell_exec($command)); $password = rtrim(shell_exec($command));
self::out((string)null); self::out((string)null);
return $password; return $password;
**/
} }
/** /**