diff --git a/src/cli.ts b/src/cli.ts index a2edc5cf..4171fb98 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -62,18 +62,6 @@ export const main = (argvInput?: string[]): Promise => string: true, // demandOption: true, // TEMP }, - limit: { - alias: 'l', - describe: 'Limit results output length', - type: 'number', - default: defaults.limit, - coerce: (val: number | number[]): number | undefined => { - if (typeof val === 'object') { - return val.pop(); - } - return val; - }, - }, priceMax: { alias: 'p', describe: 'Maximum price', @@ -92,6 +80,18 @@ export const main = (argvInput?: string[]): Promise => ) as (keyof typeof productDescriptionWildcards)[]), ], }, + limit: { + alias: 'l', + describe: 'Limit results output length', + type: 'number', + default: defaults.limit, + coerce: (val: number | number[]): number | undefined => { + if (typeof val === 'object') { + return val.pop(); + } + return val; + }, + }, accessKeyId: { describe: 'AWS Access Key ID.', type: 'string',