reports getcommand
command
Download a report for a specific date.
Anchor to argumentsArguments
- Anchor to datedatestringrequired
The date for the report in UTC (YYYY-MM-DD format)
- Anchor to report-typereport-typestringrequired
The report type (see
reports list
)
clireportsGetArgs
- date
The date for the report in UTC (YYYY-MM-DD format)
string
- report-type
The report type (see `reports list`)
string
export interface clireportsGetArgs {
/**
* The report type (see `reports list`)
*/
'report-type': string
/**
* The date for the report in UTC (YYYY-MM-DD format)
*/
date: string
}
Was this section helpful?
Anchor to optionsOptions
- Anchor to --output--outputstring
Output file path (defaults to report_
_ .csv)
clireportsGetOptions
- --output
Output file path (defaults to report_<type>_<date>.csv)
string
export interface clireportsGetOptions {
/**
* Output file path (defaults to report_<type>_<date>.csv)
*/
'--output'?: string
}
Was this section helpful?
Usage
npx shop-minis reports get [options] <report-type> <date>
examples
Usage
npx shop-minis reports get [options] <report-type> <date>