protected function execute(InputInterface $input, OutputInterface $output)
    {
        $container = new Container();
        $vacuum = $container->getVacuum();

        if ($input->getOption('only-containers')) {
            $vacuum->cleanContainers($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')));

            return 0;
        }

        if ($input->getOption('only-directories')) {
            $vacuum->cleanDirectories($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')));

            return 0;
        }

        if ($input->getOption('only-images')) {
            $vacuum->cleanImages($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')), $input->getOption('force'));

            return 0;
        }

        $vacuum->clean($input->getOption('project-path'), $input->getOption('keep'), $input->getOption('force'));

        return 0;
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $container = new Container();
        $vacuum = $container->getVacuum();

        if ($input->getOption('only-containers')) {
            $vacuum->cleanContainers($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')));

            return 0;
        }

        if ($input->getOption('only-directories')) {
            $vacuum->cleanDirectories($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')));

            return 0;
        }

        if ($input->getOption('only-images')) {
            $vacuum->cleanImages($vacuum->getJobsToRemove($input->getOption('project-path'), $input->getOption('keep')), $input->getOption('force'));

            return 0;
        }

        $vacuum->clean($input->getOption('project-path'), $input->getOption('keep'), $input->getOption('force'));

        return 0;
    }
{@inheritdoc}