From 6d0a366b256b94fe655134796e10121865ee5bb8 Mon Sep 17 00:00:00 2001 From: cemremengu Date: Tue, 12 Feb 2019 23:33:15 +0300 Subject: [PATCH] Update readme --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 38a7eef..77fabf5 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,19 @@ Simple server for single page applications. +## Usage + +``` +$ serve -h +Usage of serve: + -d string + the directory to host (default ".") + -p string + port to serve on (default "3000") + -r string + the root (index) file (default "index.html") +``` + +## Acknowledgments + Based on [this work](https://gist.github.com/hauxe/f2ea1901216177ccf9550a1b8bd59178)