Skip to content

assets get should support a --json flag for outputting JSON instead of struct debug #67

@NobleDraconian

Description

@NobleDraconian

Currently, as of v0.15.1, the assets get command of rbxcloud only outputs a rust struct debug. It should accept an additional --json flag which would format the output as json, making it parseable with other tools such as lune.

Here's an example of how it currently outputs:

AssetOperation {
    path: Some(
        "operations/8c41920f-78a6-4395-949c-8753f5d3af1f",
    ),
    metadata: None,
    done: Some(
        false,
    ),
    error: None,
    response: None,
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions