commands/init: add --output flag [GH-1364]