gruntwork-io / fetch

Download files, folders, and release assets from a specific git commit, branch, or tag of public and private GitHub repos.
https://www.gruntwork.io/
MIT License
593 stars 88 forks source link

Feature Request: Ability to `rename` and`chmod` resultant file #41

Open osterman opened 6 years ago

osterman commented 6 years ago

what

why

example interface

fetch --repo https://github.com/gruntwork-io/fetch \
      --tag=v0.2.0 \
      --release-asset=fetch_darwin_amd64 \
      --asset-name=fetch \
      --asset-file-mode=0755 \
        /usr/local/bin
brikis98 commented 6 years ago

--asset-file-mode and --asset-file-destination both sound like a great idea for optional params. We'd welcome a PR to add those!