Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
fix(package): updating the generator to support valid options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Clark committed Jul 31, 2018
1 parent 2b178df commit 62af915
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,36 @@ module.exports = Generator.extend({
desc: 'Creates application without including generator metadata files',
defaults: false
})

this.option('name', {
type: Boolean,
desc: 'Project name',
defaults: false
})

this.option('type', {
type: Boolean,
desc: 'Give a specific type of application to generate',
defaults: false
})

this.option('metrics', {
type: Boolean,
desc: 'Add health checking to project',
defaults: false
})

this.option('docker', {
type: Boolean,
desc: 'Generate a Dockerfile for the project',
defaults: false
})

this.option('healthcheck', {
type: Boolean,
desc: 'Add health checking to project',
defaults: false
})
},

initializing: {
Expand Down

0 comments on commit 62af915

Please sign in to comment.