1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00

Fixed parameters

This commit is contained in:
Benjamin Stigsen 2019-05-09 20:40:21 +02:00 committed by GitHub
parent 37e0160a35
commit b2a8596560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,9 +8,9 @@ options = {
program program
.version('0.1.1') .version('0.1.1')
.option('-t, --title [title]', 'give blog a title') .option('-t, --title [title]', 'give blog a title')
.option('-t, --subtitle [subtitle]', 'give blog asubtitle', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.') .option('-s, --subtitle [subtitle]', 'give blog asubtitle', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.')
.option('-t, --pagetitle [pagetitle]', 'give page a title') .option('-p, --pagetitle [pagetitle]', 'give page a title')
.option('-t, --folder [folder]', 'give folder a title') .option('-f, --folder [folder]', 'give folder a title')
.parse(process.argv); .parse(process.argv);
function createBlog(title, subtitle, pagetitle, folder) { function createBlog(title, subtitle, pagetitle, folder) {