I really love the single-file feature (http://code.dlang.org/advanced_usage#single-file).
It's just a bit annoying to always write the header manually. I need to look it up any time I would like to use it.
What would you think of the following command:
dub init --type=single
which produces:
#!/usr/bin/env dub
/+ dub.sdl:
name ""
+/
Or perhaps:
dub init <exeName> --type=single
which produces (in the current directory):
#!/usr/bin/env dub
/+ dub.sdl:
name "<exeName>"
+/
This would enable quickly setting up "script" files using dub without the pain of remembering the header format.