adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Append version command to report script version #61

Closed achekulaev closed 8 years ago

achekulaev commented 8 years ago

Currently there is no way to know the version of the script once it is downloaded to local. For auto-updating purposes it is needed to have version of the script.

Appending version as a command allows other scripts to use it to easily determine docker-machine-nfs version installed.

achekulaev commented 8 years ago

Hi. Hopefully you find time to review / accept / decline+comment this PR.

tonivdv commented 8 years ago

Hey @achekulaev ,

Sorry for the late reaction.

  1. I'd prefer ./docker-machine-nfs --version|-v
  2. Set the version in a variable somewhere on top of the file?!
  3. Update the README.md

Thanks for the contribution