UNPKG

1.04 kBJavaScriptView Raw
1((r) => {
2 'use strong'
3
4 const fse = r('fs-extra')
5 const chalk = r('chalk')
6 const cl = require('chalkline')
7 const terminalLink = require('terminal-link')
8 const center = require('center-align')
9
10
11 const docLink = terminalLink('docs@bookiza', 'https://bubblin.io/bookiza/docs/registration')
12 const supportLink = terminalLink('support@bookiza', 'https://git.io/fj67o')
13
14 cl.green()
15 cl.blue()
16 cl.red()
17
18 fse.readFile('./license.md', 'utf8', (err, data) => {
19 if (err) return Error('Couldn\'t read license information.')
20 console.log(chalk.keyword('orange')(data))
21 cl.white()
22 console.log('\n Installation complete. Yay!')
23 // console.log(`\n Welcome to Bookiza Abelone.`)
24 console.log(`\n Next step: Run ${chalk.bold.yellow('$ bookiza register')} and pass your Bubblin credentials. \n`)
25 console.log(` Visit: ${chalk.keyword('orange')(docLink)} for more information.`)
26 console.log(` Support: ${chalk.keyword('orange')(supportLink)}\n`)
27 cl.white()
28
29 console.log('\n\n\n')
30 })
31})(require)