clocal-gcp icon indicating copy to clipboard operation
clocal-gcp copied to clipboard

Add updateObject function and Script file to run it

Open anuragparida opened this issue 6 years ago • 0 comments

  • Added updateObject() function to ./src/services/cloud-storage/bucket.js which allows the user to replace an existing object in the specified bucket with a new object in the specified path.
  • Makes use of the uploadObject() and deleteObject() methods.

updateObject

  • Also Added Script file and corresponding JS file for running the function in CLI. (Takes 3 inputs - path, fileName and bucketName)

ScriptFile

JSFile

anuragparida avatar Nov 27 '18 11:11 anuragparida