Skip to content

Added json output function#389

Merged
bootandy merged 3 commits into
bootandy:masterfrom
fksms:json_test
May 2, 2024
Merged

Added json output function#389
bootandy merged 3 commits into
bootandy:masterfrom
fksms:json_test

Conversation

@fksms
Copy link
Copy Markdown
Contributor

@fksms fksms commented Apr 25, 2024

I added it because I needed the ability to output it as json.

dust -j outputs json to the current directory.

For your reference.

@bootandy
Copy link
Copy Markdown
Owner

Ok, lets fix the format and go

@fksms
Copy link
Copy Markdown
Contributor Author

fksms commented May 2, 2024

Thank you for confirmation.

What specifically should I fix?

@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 2, 2024

Run cargo fmt locally - you can see the build failed above ^ , then push again.

@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 2, 2024

and rebase

@fksms
Copy link
Copy Markdown
Contributor Author

fksms commented May 2, 2024

Very helpful.

I've Done!

@bootandy bootandy merged commit 2c34c38 into bootandy:master May 2, 2024
@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 2, 2024

I'm going to have to tweak this a bit, it's not doing what I expected.

@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 2, 2024

#396
Here, we print to stdout instead - I don't want my tool writing files to the disk. - if you want the old behaviour you can do
dust > node.json

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.

2 participants