Class: Pagy::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/pagy/cli.rb

Constant Summary collapse

LINUX =
RbConfig::CONFIG['host_os'].include?('linux')
HOST =
'localhost'
PORT =
'8000'

Instance Method Summary collapse

Instance Method Details

#start(args = ARGV) ⇒ Object



15
16
17
18
# File 'lib/pagy/cli.rb', line 15

def start(args = ARGV)
  options = parse_options(args)
  run_command(args, options)
end