Skip to content

Commit

Permalink
refactor: renew Puma desc & default
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Jan 13, 2024
1 parent aa38556 commit 1966796
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 1966796

Please sign in to comment.