gcs-client

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 12 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
cat
cp
Package cp implements the 'cp' command for copying files to Google Cloud Storage.
Package cp implements the 'cp' command for copying files to Google Cloud Storage.
ls
mv
rm
pkg
utils
Package utils provides utility functions
Package utils provides utility functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL