moov-io / paygate

A RESTful API enabling electronic payments to be submitted and received without a deep understanding payment file specification
http://moov.io
Apache License 2.0
129 stars 31 forks source link

cmd/audittrail: download and upload file #621

Open adamdecaf opened 3 years ago

adamdecaf commented 3 years ago

What were you trying to do? A command line utility for managing files inside the audit storage would be helpful. This allows us to manually add files that were uploaded manually. Also to download files and verify their contents.

# example, would have more CLI flags and options
$ go run ./cmd/audit help

  download <path> 
  upload [--org <string> <path>