diff --git a/CHANGELOG.md b/CHANGELOG.md index e6274df..4a0edc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.0.5] - 2019-05-29 + +### Added +- Support important dates ([#8](https://github.com/kgb-workshop/sad-generator-init/issues/8)) + ## [0.0.4] - 2019-05-29 ### Fixed @@ -18,5 +23,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Event location is written to CSV. +[0.0.5]: https://github.com/kgb-workshop/sad-generator-init/compare/v0.0.4...v0.0.5 [0.0.4]: https://github.com/kgb-workshop/sad-generator-init/compare/v0.0.3...v0.0.4 [0.0.3]: https://github.com/kgb-workshop/sad-generator-init/compare/v0.0.2...v0.0.3 diff --git a/bin/cli.js b/bin/cli.js index 285487d..f0dec54 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -9,6 +9,7 @@ const inquirer = require('inquirer'); const fs = require('fs-extra'); const path = require('path'); const validator = require('validator'); +const parseTemplate = require('parse-author'); const generate = require('../index'); if (process.argv.length > 2 && (process.argv[2] === '-h' || process.argv[2] === '--help')) { @@ -73,6 +74,21 @@ async function start() { message: 'End date', default: answers.startdate === '' ? undefined : answers.startdate }, + { + type: 'input', + name: 'importantdates', + message: 'Important dates (date