Skip to content

JSON output using the --json flag#20

Merged
hainsdominic merged 4 commits intomainfrom
feat-json-output
Jun 1, 2022
Merged

JSON output using the --json flag#20
hainsdominic merged 4 commits intomainfrom
feat-json-output

Conversation

@hainsdominic
Copy link
Copy Markdown
Contributor

#12

What are you trying to accomplish?

The logs can be displayed in the JSON format using the --json flag while using the CLI.

The impact of these changes

On Shopify

Shopify can gather these logs and process them.

On merchants

No change

On third-party apps

The 3rd party developer can pipe the output into a json file to analyze their scripts at a larger scale.

Tophat 🎩

You can test your own script by running cargo run --release -- --json <path/to/input.json> -s <path/to/script.wasm>.

Before you deploy

@DuncanUszkay1
Copy link
Copy Markdown
Contributor

Make sure to set the base branch to what you based this one off of- right now the diff shows everything in the chain of PRs

@hainsdominic hainsdominic changed the base branch from main to feat-file-size May 30, 2022 22:19
@hainsdominic
Copy link
Copy Markdown
Contributor Author

hainsdominic commented May 30, 2022

Make sure to set the base branch to what you based this one off of- right now the diff shows everything in the chain of PRs

Fixed it, thanks for the heads up

@hainsdominic hainsdominic changed the base branch from feat-file-size to main June 1, 2022 13:33
@hainsdominic hainsdominic merged commit 0163cdf into main Jun 1, 2022
@jbourassa jbourassa deleted the feat-json-output branch November 16, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants