USAGE: asc reports sales <options>
ARGUMENTS:
<frequency> Frequency of the report to download. ([daily, monthly, weekly, yearly])
<report-date> The report date to download. The date is specified in the YYYY-MM-DD format for all report frequencies except DAILY, which
does not require a specified date.
<report-type> The report to download. ([sales, pre_order, newsstand, subscription, subscription_event, subscriber])
<report-sub-type> The report sub type to download. ([summary, detailed, opt_in])
<vendor-number> Your vendor number.
<output-filename> The downloaded report file name.
🔨 How To Test
swift run asc reports sales weekly 2020-05-24 sales summary 12345678 ./../report
Closes #91
📝 Summary of Changes
Changes proposed in this pull request:
DownloadSalesAndTrendsReportsCommand
ExpressibleByArgument
downloadSales
⚠️ Items of Note
The downloaded report suffix is
.gz
🧐🗒 Reviewer Notes
💁 Example
🔨 How To Test