Skip to content

Commit

Permalink
feat: log out selected options
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 14, 2019
1 parent 447ef05 commit b558271
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ const { argv } = yargs
}

try {
console.log('Querying current spot prices with options:');
console.group();
if (instanceTypes) console.log('instanceTypes:', instanceTypes);
if (families) console.log('families:', families);
if (sizes) console.log('sizes:', sizes);
if (limit) console.log('limit:', limit);
if (priceMax) console.log('priceMax:', priceMax);
if (productDescriptions) console.log('productDescriptions:', productDescriptions);
console.groupEnd();

getGlobalSpotPrices({
instanceTypes,
families,
Expand Down

0 comments on commit b558271

Please sign in to comment.