Skip to content

Returning output as JSONΒ #313

@kishaningithub

Description

@kishaningithub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions