import chalk from 'chalk' ; export default function code ( cmd , { backticks = true } = { } ) { const tick = backticks ? chalk . gray ( '`' ) : '' ; return `${ tick }${ chalk . bold ( cmd ) }${ tick }` ; }