Skip to content

Commit

Permalink
Merge pull request #1008 from ninoseki/renew-puma-desc-default-values
Browse files Browse the repository at this point in the history
refactor: renew Puma desc & default
  • Loading branch information
ninoseki authored Jan 13, 2024
2 parents aa38556 + 1966796 commit dfe284f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mihari/commands/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class << self
def included(thor)
thor.class_eval do
desc "web", "Start the web app"
method_option :port, type: :numeric, default: 9292, desc: "Hostname to listen on"
method_option :host, type: :string, default: "localhost", desc: "Port to listen on"
method_option :port, type: :numeric, default: 9292, desc: "Port to listen on"
method_option :host, type: :string, default: "localhost", desc: "Hostname to listen on"
method_option :threads, type: :string, default: "0:5", desc: "min:max threads to use"
method_option :verbose, type: :boolean, default: true, desc: "Report each request"
method_option :verbose, type: :boolean, default: false, desc: "Don't report each request"
method_option :worker_timeout, type: :numeric, default: 60, desc: "Worker timeout value (in seconds)"
method_option :open, type: :boolean, default: true, desc: "Whether to open the app in browser or not"
method_option :env, type: :string, default: "production", desc: "Environment"
Expand Down

0 comments on commit dfe284f

Please sign in to comment.