Closed
Description
I've tested this on a fresh 2.0.2 installation.
I installed a sample module of mine using composer and then afterwards ran bin/magento module:uninstall Smartie_SampleModule
This is the output;
Enabling maintenance mode
You are about to remove a module(s) that might have database data. Remove the database data manually after uninstalling, if desired.
Removing Smartie_SampleModule from module registry in database
Removing Smartie_SampleModule from module list in deployment configuration
Removing code from Magento codebase:
This is where it gets stuck. The module is removed from the composer.json file but it never gets removed from the vendor dir.