protected function loadCommands(PackageInterface $package)
    {
        if (!$package->getCommands() || APP_CONTEXT !== 'console') {
            return $this;
        }

        $commandLoader = \Parable\DI\Container::create(\Parable\Framework\Loader\CommandLoader::class);
        $commandLoader->load($package->getCommands());
        return $this;
    }