protected function arguments(array $variables)
    {
        if (
            !array_key_exists('argv', $variables) ||
            !is_array($variables['argv'])
        ) {
            throw new RuntimeException('Unable to determine arguments.');
        }

        $arguments = $variables['argv'];
        array_shift($arguments);

        return $arguments;
    }