private function parseDefinitions(): array
    {
        $definitions = [];
        $reader = new AnnotationReader();
        $method = new \ReflectionMethod($this->controllerClassName, $this->controllerCommandMethod);
        foreach ($reader->getMethodAnnotations($method) as $annotation) {
            if ($annotation instanceof Option) {
                $definitions['Option'][] = $annotation;
            }
            if ($annotation instanceof Argument) {
                $definitions['Argument'][] = $annotation;
            }
            if ($annotation instanceof Validate) {
                $definitions['Validate'] = $annotation;
            }
        }

        return $definitions;
    }