Flutter-Bounty-Hunters / static_shock

A static site generator for Dart.
MIT License
58 stars 5 forks source link

[bug]: `shock create` overwrites project #144

Open dickermoshe opened 2 weeks ago

dickermoshe commented 2 weeks ago

Running shock create inside of a project that already exists has unwanted results.

Let say I'm working on a package named foo and I want to create docs for it.

I run shock create in the ./foo directory, only to find that my current project has a bunch of file overwritten . Instead of adding/overwriting files in the current ./foo project, a new Dir should be created ./foo/docs_package_name with the docs inside there.