storing

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 11 Imported by: 0

README

Storing

The storing is the cloud storage upload CLI. It may support AWS S3 if needed, but for now only GCS is supported.

GitHub Workflow Status GitHub Workflow Status GitHub Release MIT License Go Documentation codecov

Usage

$ go install github.com/linyows/storing@latest
$ storing ./testdata/example.jpg -bucket my-bucket-name -key ~/Downloads/my-project-credentials.yml
Blob ./testdata/example.jpg uploaded: https://storage.cloud.google.com/<my-bucket-name>/<hostname>/testdata/example.jpg

Options

The options are:

  -bucket string
        bucket name
  -key string
        credentials filepath (default "~/.config/storing.json")
  -object string
        object name (default format "<hostname>/<lastdir>/<basename>")

Author

linyows

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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