Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive Refactor 🤠 #82

Merged
merged 3 commits into from
Sep 21, 2017
Merged

Massive Refactor 🤠 #82

merged 3 commits into from
Sep 21, 2017

Conversation

alexcanessa
Copy link
Member

What this PR does:

ES2015

Convert everything to ES2015 and differentiate what belongs to ./lib and what belongs to ./bin (executables).

Program.js

Introduced a new Class in order to create programs with an array of options. These options can then be used to auto-generate a README.md file later on.

Resolves #68

Commander

Introducing Commander to generate proper commands and an automated --help section. The usage of gren is now:

gren [command] [options]

Resolves #80 and resolves #66

Gulp

Grunt has now been replaced with Gulp.

Resolves #81

What this PR doesn't do:

Changelog action

gren --action=changelog hasn't be migrated to gren changelog yet.
This means this work can't be tagged until the migration happens.

Update README.md

The README.md file needs to be updated to reflect the changes and maybe get automated via the Program.js class options.

@alexcanessa alexcanessa merged commit accbbbf into master Sep 21, 2017
@alexcanessa alexcanessa deleted the refactor branch September 21, 2017 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swap Grunt with Gulp gren --help quietly does stuff Migrate to ES2015 Create a --help section
1 participant