Skip to content

linyows/storing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")
  -logrotate
        search today's file for logrotate
  -prefix string
        object prefix (default "<hostname>/<lastdir>/<basename>")
  -timeout int
        timeout seconds for upload (default 50)

Author

linyows

About

💽 Storing is the cloud storage upload CLI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published