hgsk
Version:
GOHUGO Starter Kit command line tool
20 lines • 650 B
JavaScript
module.exports = {
terminal: {
create: 'mkdir',
delete: 'rm -rf',
clone: 'git clone',
localVer: 'npm list hgsk -g | grep hgsk@ | egrep -o "([0-9]{1,}\.)+[0-9]{1,}"',
lastVer: 'npm view hgsk version',
brewInstall: 'brew install hugo'
},
messages: {
error: 'Something went wrong',
projectName: 'What is the project name?',
good: 'Good!',
startCloning: 'Now we start!',
success: 'Success',
needUpdate: 'You should update the gohugo:\nsudo npm install hgsk --global',
needInstall: 'Hugo is not installed\n\nWe will install Hugo on your computer',
needTime: 'This may take some time...'
}
};