Skip to content

Commit

Permalink
Merge pull request #63 from barracksiot/hookCreate
Browse files Browse the repository at this point in the history
Fix hook create command
  • Loading branch information
Greg committed Aug 14, 2017
2 parents 8a964de + fccb262 commit 5c4a097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/hook/CreateHookCommand.js
Expand Up @@ -48,8 +48,8 @@ class CreateHookCommand extends BarracksCommand {

configureCommand(program) {
return program
.option('--event', 'To specify the type of event that triggers the hook (ping, enrollment, deviceDataChange or devicePackageChange).')
.option('--hookType', 'To specify the type of hook we want to create (web, googleAnalytics or bigQuery)')
.option('--event [value]', 'To specify the type of event that triggers the hook (ping, enrollment, deviceDataChange or devicePackageChange).')
.option('--hookType [value]', 'To specify the type of hook we want to create (web, googleAnalytics or bigQuery)')
.option('--name [value]', 'The unique name of the webhook')
.option('--gaTrackingId [value]', 'The trackingId for the Google Analytics account')
.option('--googleClientSecret [path/to/file]', 'The path to the file with the Google client secret json used to authenticate to BigQuery.')
Expand Down

0 comments on commit 5c4a097

Please sign in to comment.