Use the Layout DSL for quick formatting
masterWhen passing a single string to ui.div(), you can use special characters to define the layout structure:
\n: Interpreted as new rows.\t: Interpreted as new columns.\s: Interpreted as padding.
Example:
var ui = require('./')({
width: 60
})
ui.div(
'Usage: node ./bin/foo.js\n' +
' <regex>\t provide a regex\n' +
' <glob>\t provide a glob\t [required]'
)
console.log(ui.toString())