function template({ title = 'redirect page', url }) {
return `\
${title}
Redirecting...
You will be redirected to the requested page shortly.
If you are not redirected automatically, click here.
`;
}
process.stdout.write(template({ url: process.argv[2], title: process.argv[3] }));