Google Cloud Storage client
This is reimplementation of the most common commands from gcloud storage in
the Google SDK. The main purpose is to avoid needing to install the huge sdk
during CI.
$ ./gcs-client
NAME:
gcs-client - A new cli application
USAGE:
gcs-client [global options] [command [command options]]
COMMANDS:
cp Copy files and objects to and from Google Cloud Storage
cat Print the content of GCS objects or local files
rm Delete GCS objects or local files
mv Move or rename GCS objects or local files
ls List GCS buckets and objects
hash Calculate or retrieve hashes for GCS objects or local files
restore Restore soft-deleted GCS objects
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--project string, -p string Google Cloud Project ID [$GOOGLE_CLOUD_PROJECT]
--help, -h show help
Auth
This is built on the Google Cloud Go SDK, so it uses the same authentication
methods. Should work with Application Default Credentials, service account keys, and Workload Identity Federation.