module.exports = {
name: 'looksy',
run: async (context) => {
// gluegun provides all these features and more!
const { system, print, filesystem, strings, parameters } = context
// ...and be the CLI you wish to see in the world
const awesome = strings.trim(system.run('whoami'))
const moreAwesome = strings.kebabCase(`${awesome} and a keyboard`)
const contents = `🚨 Warning! ${moreAwesome} coming thru! 🚨`
const home = process.env['HOME']
filesystem.write(`${home}/realtalk.json`, { contents })
print.info(`${print.checkmark} I'm ${parameters.first}`)
print.warning(`${print.checkmark} Look at`)
print.success(`${print.checkmark} ${parameters.options.me}`)
}
}