Skip to content

Commit

Permalink
tidy up example
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Mar 6, 2023
1 parent f62b183 commit 88a0434
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions example/simple.cjs
Original file line number Diff line number Diff line change
@@ -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([
Expand Down

0 comments on commit 88a0434

Please sign in to comment.