Hexaville icon indicating copy to clipboard operation
Hexaville copied to clipboard

when the path specified by --dest option doesn't exist, it creates it

Open mitsuyoshi-yamazaki opened this issue 7 years ago • 5 comments

Agenda

When calling $ Hexaville generate <projectname> --dest <destination> with non-exist destination path, it creates the path. I think it should raise an error rather than create create directories.

mitsuyoshi-yamazaki avatar Jun 05 '17 17:06 mitsuyoshi-yamazaki

hmm, I think it depends on user. So both of usages are conceivable. Make default behavior raising error and add brand new -f option to use mkdir -p is better? how is it?

noppoMan avatar Jun 06 '17 08:06 noppoMan

Make default behavior raising error and add brand new -f option to use mkdir -p is better? how is it?

That's preferrable I think.

For now, even if we specify a wrong destination path, it doesn't let us know that, so I write this issue.

mitsuyoshi-yamazaki avatar Jun 06 '17 08:06 mitsuyoshi-yamazaki

Okay, I'll add this to load map. Or if.. if you have interested in this feature, PR is always welcome! Anyways, Thanks for your opinion.

noppoMan avatar Jun 06 '17 09:06 noppoMan

Hmm I'm busy playing ARKit and CoreML for these days sorry

mitsuyoshi-yamazaki avatar Jun 06 '17 09:06 mitsuyoshi-yamazaki

Haha, no worries. They must be exciting!

noppoMan avatar Jun 06 '17 09:06 noppoMan