CLI tool for managing bucket contents, currently only support AWS S3 but designed to support different providers like GCS
- Go 1.11+
- Dependencies managed with
go mod
These steps will describe how to setup this project for active development. Adjust paths to your desire.
- Clone the repository:
git clone github.com/thisissoon/bucket-boss bucket-boss
- Build:
make build
- 🍻
Dependencies are managed using go mod
(introduced in 1.11), their versions
are tracked in go.mod
.
To add a dependency:
go get url/to/origin
Configuration can be provided through a toml file, these are loaded in order from:
/etc/bucket-boss/bucket-boss.toml
$HOME/.config/bucket-boss.toml
Alternatively a config file path can be provided through the -c/--config CLI flag.
[log]
console = true
level = "debug" # [debug|info|error]
[aws]
enabled = true
bucketName = "bucketname" # name of the bucket you want to manage
region = "region" # bucket region
accessKey = "AWS_ACCESS_KEY" # AWS access key usually set as an environment variable
secretKey = "AWS_SECRET_ACCESS_KEY" # AWS secret key usually set as an environment variable