class Webtask::CLI
Constants
- DEFAULT_BIND
- DEFAULT_PORT
Attributes
bind[RW]
port[RW]
Public Class Methods
new()
click to toggle source
# File lib/webtask/cli.rb, line 13 def initialize @port = DEFAULT_PORT @bind = DEFAULT_BIND end
Public Instance Methods
show_help()
click to toggle source
# File lib/webtask/cli.rb, line 18 def show_help puts <<~HELP_TEXT webtask – A web GUI for your Rake tasks Options: -b bind to a different address (default: #{DEFAULT_BIND}) -p bind to a different port (default: #{DEFAULT_PORT}) HELP_TEXT exit end