module Serve

Overview

Completions

Defined in:

serve/version.cr
serve/cli.cr
serve/completion.cr
serve.cr

Constant Summary

COLORS = {:time => :dark_gray, :method => :green, :resource => :cyan, :version => :magenta, :status_code => :blue, :elapsed_text => :yellow}
SERVER_NAME = "Serve"
SHELLS = ["zsh"]
VERSION = "0.1.1"

Class Method Summary

Class Method Detail

def self.run(*, host = "0.0.0.0", port = 8000, public_dir = "./", colors = true) #

[View source]