GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Support JSON output

Open
#1,099 3 comments 43 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Please, consider adding support for json output which can be enabled with a CLI option or an environment variable. It would be especially beneficial for 'gsutil ls -L gs://bucket/object/path' command which currently produces output in a custom format which is hard to parse.
BTW `aws` cli tool which provides similar functionality can produce JSON output in `aws s3api list-objects` mode (and probably does this by default)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the gsutil ls -L command and the existing CLI option or environment-variable handling. Define the JSON output scope for that command, then verify that the selected option or variable produces parseable JSON; the issue names no files or tests, so those entry points must be located first.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.