Skip to content

Commit

Permalink
Allow --secret flag for microflo runtime
Browse files Browse the repository at this point in the history
WARNING: NOT ENFORCED YET
  • Loading branch information
jonnor committed Apr 16, 2018
1 parent f51105c commit aa79288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microflo.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ main = ->
.option('--ping-method <GET|POST>', 'HTTP method to hit ping URL with', String, 'POST')
.option('--ping-interval <seconds>', 'How often to hit the ping URL, 0=never', Number, 0)
.option('--wait-connect <seconds>', 'How long to wait before connecting to serial. Useful for Arduino Uno', Number, 0)
.option("--secret <MYSECRET>", "Authentication token for FBP protocol", String, null)
.action setupRuntimeCommand
commander.parse process.argv
commander.help() if process.argv.length <= 2
Expand Down

0 comments on commit aa79288

Please sign in to comment.