Skip to content

Commit

Permalink
chore: reorder option order
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 18, 2019
1 parent 699cc60 commit 51ff4c9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,6 @@ export const main = (argvInput?: string[]): Promise<void> =>
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',
Expand All @@ -92,6 +80,18 @@ export const main = (argvInput?: string[]): Promise<void> =>
) 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',
Expand Down

0 comments on commit 51ff4c9

Please sign in to comment.