feat(setup): add optional mode arg to target setup
#397
+72
−32
mode arg to target setup
#397