add doctor command

This commit is contained in:
crazywhalecc
2023-04-22 21:23:12 +08:00
parent 4c0d35c723
commit 528ad1199a
11 changed files with 334 additions and 27 deletions

View File

@@ -105,7 +105,7 @@ function f_mkdir(string $directory, int $permissions = 0777, bool $recursive = f
return mkdir($directory, $permissions, $recursive);
}
function shell(): UnixShell
function shell(?bool $debug = null): UnixShell
{
return new UnixShell();
return new UnixShell($debug);
}