zopencommunity / wharf

Apache License 2.0
6 stars 4 forks source link

feat: add flag for custom import directory #19

Closed MacMalainey closed 1 year ago

MacMalainey commented 1 year ago

This change also fixes an issue when porting the module github.com/caddyserver/caddy where two of the dependencies slightly overlap causing the copy to fail. Now Wharf will investigate to see if the root "copy imports directory" exists, and if it does it will warn the user and request confirmation. If STDIN is not a TTY, it will just abort unless a new flag (-f) is passed in.