public function getCommandNameTraceArray()
    {
        $cmdStacks = [$this->name()];
        $p = $this->parent;
        while ($p) {
            if (!$p instanceof Application) {
                $cmdStacks[] = $p->name();
            }
            $p = $p->parent;
        }

        return array_reverse($cmdStacks);
    }