protected function resolveCommands()
    {
        $this->commands = $commands = array_merge($this->kernel, $this->commands);

        foreach ($commands as $command) {

            $command = $this->getContainer()->make($command)->setContainer($this->getContainer());
            $this->addToParent($command);
        }
    }