aboutsummaryrefslogtreecommitdiff
path: root/docs/man/quickserv.1
blob: 5403140cc8854cb85343487114635febea1be245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.Dd December 12, 2017
.Dt QUICKSERV 1 PRM


.Sh NAME
.Nm quickserv
.Nd quickly and dirtily serve a folder as a HTTP server.


.Sh SYNOPSIS
.Nm
.Op Fl dir
.Op Fl port


.Sh DESCRIPTION
.Nm
serves a local directory of files as an HTTP server.

.Bl -tag -width " " -offset indent -compact

.It Fl dir
Specifies the local path to be served over HTTP.

.It Fl port
Specifies the TCP port that quickserv will bind to.

.El


.Sh EXAMPLES

.Li quickserv

.Li quickserv -dir ~/public_html -port 9001


.Sh SEE ALSO

.Bl -bullet

.It
.Lk hyperlink: https://godoc.org/net/http#Dir