Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning output as JSON #313

Open
kishaningithub opened this issue Apr 10, 2023 · 0 comments
Open

Returning output as JSON #313

kishaningithub opened this issue Apr 10, 2023 · 0 comments

Comments

@kishaningithub
Copy link

Context
I am using s4cmd within github actions to upload the files to S3, also i am using --sync-check flag to ensure files that are already uploaded are not uploaded again and i am using both dsync for directory level sync and combination of put and del for file level uploads and deletes.

The result can either be that the file is

  • already synced and does not require output
  • Uploaded
  • Deleted

What i want
I want this output to be in a json format so that i can easily parse and display the status (synced, uploaded and deleted) in the UI

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

No branches or pull requests

1 participant