Ticket #682 (new enhancement)
'cabal init' should try to set 'main-is' for executables
|Reported by:||duncan||Owned by:|
Currently, cabal init will find modules and add them to the exposed-modules of a library. It should try to do something similar for executables. The main-is field is required for executables and any other-modules also need to be listed.