fix: a couple of fixes and improvements on task --init
#2433
+26
−13
task --init
#2433