From 19893cba3f4dc513138d4f421b3d2e5db40b874a Mon Sep 17 00:00:00 2001 From: Houssene Dao Date: Sat, 12 May 2018 15:18:07 +0000 Subject: [PATCH] Update changelog and remove help content --- CHANGELOG.md | 8 +++++++- lib/cli.js | 5 ----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33c9f22..7273629 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ 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.1.0](https://github.com/TheMartianGeeks/superman/releases/tag/0.1.0) - 2018-05-11 +## [0.1.2](https://github.com/TheMartianGeeks/superman/releases/tag/0.1.0) - 2018-05-11 ### Added @@ -16,3 +16,9 @@ __Set Version__ __Init Version__ * Add command `version:init` with flag `--m MAJOR, --i MINOR, --p PATCH` + +### Fixed + +* Read file if not exist `error`. Now we have a notification if file does't exist. +* Use `shelljs` to write file from any superman `cmd` +* Showing help if you run `superman -h` or `superman --help` diff --git a/lib/cli.js b/lib/cli.js index 40d1a98..15f253c 100755 --- a/lib/cli.js +++ b/lib/cli.js @@ -13,9 +13,4 @@ PROGRAM */ require('./commands/kernel'); -PROGRAM.on('--help', defaultDisplay); PROGRAM.parse(process.argv); - -if (PROGRAM.args.length === 0) { - defaultDisplay(); -}