mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
16 lines
222 B
Ruby
Executable file
16 lines
222 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
#
|
|
# Copyright (c) 2011 Evan Phoenix
|
|
#
|
|
|
|
require 'puma/cli'
|
|
require 'puma/cluster_cli'
|
|
|
|
if ARGV[0] == "cluster"
|
|
ARGV.shift
|
|
cli = Puma::ClusterCLI.new ARGV
|
|
else
|
|
cli = Puma::CLI.new ARGV
|
|
end
|
|
|
|
cli.run
|