The readme specifies the following command for compile.
mbed compile -t GCC_ARM -m [target] --profile release --app-config=configs/.json
This doesn't work because you need to explicitly specify the configuration file to use.
It would be of great help to the user to include an intermediate step that asks them to choose the flash layout and other configuration choices.