Add CLI command to create new module folder under app/code directory with registration.php and etc/module.xml files.
Something like
bin/magento module:create Vendor_ModuleName