const main = async() => {
console.log('inside async()');
const options = {
stackName: process.argv[2],
region: process.argv[3] || 'us-east-1'
};
const sqs = new AWS.SQS({ region: options.region });
const cfn = new AWS.CloudFormation({ region: options.region });
const actions = { purge, writeOut, replay, triage };
try {
const queues = await findQueues(cfn, options);
const queue = await selectQueue(queues);
const data = await triageSelection(queue);