Adding --dir flag to init command