Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/owlinux1000/gcstree
Tree command for GCS (Google Cloud Storage)
https://github.com/owlinux1000/gcstree
golang google-cloud-storage tree
Last synced: about 11 hours ago
JSON representation
Tree command for GCS (Google Cloud Storage)
- Host: GitHub
- URL: https://github.com/owlinux1000/gcstree
- Owner: owlinux1000
- License: mit
- Created: 2023-09-26T12:29:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-01T12:06:04.000Z (about 1 year ago)
- Last Synced: 2024-02-13T02:46:12.017Z (9 months ago)
- Topics: golang, google-cloud-storage, tree
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# gcstree
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![](https://github.com/owlinux1000/gcstree/actions/workflows/release.yaml/badge.svg)](https://github.com/owlinux1000/gcstree/actions)`gcstree` is a CLI tool to list objects in Google Cloud Storage.
## Installation
You can install `gcstree` by `go install` or `brew`. In addition, you can download the binary from [releases](https://github.com/owlinux1000/gcstree/releases)
```
go install github.com/owlinux1000/gcstree@latest
``````
brew install owlinux1000/tap/gcstree
```## How to use
In advance, you might want to login to Google Cloud as follows:
```
gcloud auth application-default login
``````console
$ gcstree
A tree command for Google Cloud StorageUsage:
gcstree [flags]Flags:
-h, --help help for gcstree
-n, --no-color disable colorized outputs
-v, --version show the gcstree version
``````console
$ gcstree test
test
├── folder1
│ ├── folder1-1
│ │ └── hello.txt
│ └── folder1-2
└── folder2
└── hello.txt4 directories, 2 files
``````console
$ gcstree test/folder1
test
└── folder1
├── folder1-1
│ └── hello.txt
└── folder1-23 directories, 1 files
```## Special thanks :tada:
https://github.com/ddddddO/gtree