Level51\SakeMore\Util
Class providing various util methods.
Synopsis
class Util
{
- // methods
- public static array getCommands()
- public static Command|null getCommandInstance()
- public static bool isWIN()
- public static bool shellCommandExists()
- public static int runCLI()
Methods
public
- getCommandInstance() — Get a command instance for the given url segment.
- getCommands() — Get a list of all available commands.
- isWIN() — Checks for Windows OS.
- runCLI() — Runs the given command via proc.
- shellCommandExists() — Checks if the given (Shell) command exists.