From 88a0434f8b6f278aea3000d0d42d18e99790d496 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Mon, 6 Mar 2023 21:55:42 +0000 Subject: [PATCH] tidy up example --- example/simple.cjs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/example/simple.cjs b/example/simple.cjs index cc11065..6e08e29 100644 --- a/example/simple.cjs +++ b/example/simple.cjs @@ -1,17 +1,3 @@ -// const chalkTemplate = require('chalk-template') - -// function chalkFormat (str) { -// if (str) { -// str = str.replace(/`/g, '\\`') -// return chalkTemplate(Object.assign([], { raw: [str] })) -// } else { -// return '' -// } -// } - -// console.log('YOOO', chalkFormat('HELLO')) -// console.log('YOOO', chalkFormat('{bold hello}')) - const commandLineUsage = require('command-line-usage') const usage = commandLineUsage([