protected function formatCommand(string $command, array $args) : string
    {
        foreach ($args as $key => $value) {
            $command = str_replace('{' . strtoupper($key) . '}', $value, $command);
        }
        return $command;
    }