code / nowopen

Lines270 Lua215 make29 Markdown26
(43 lines)
1 .\" Manpage for nowopen.
2 .\" Contact bruce@bruce-hill.com to correct errors or typos.
3 .TH man 8 "5 January 2019" "1.0" "nowopen man page"
4 .SH NAME
5 nowopen \- Display which businesses are now open.
6 .SH SYNOPSIS
7 \fBnowopen\fR [ \fI-p\fR|\fI--plain\fR ] [ \fI-r\fR|\fI--random\fR ] [ \fI--help\fR ] [ \fItags...\fR ]
8 .SH DESCRIPTION
9 \fBnowopen\fR will display currently open businesses and how long until they
10 close. It uses data from either \fB~/.local/share/nowopen/businesshours\fR
11 or \fB~/.businesshours\fR.
13 .SH OPTIONS
14 .TP
15 .B \-p, \-\-plain
16 Display output in plain text to stdout instead of using a temporary display
17 with color.
18 .TP
19 .B \-r, \-\-random
20 Choose a random currently open place.
21 .TP
22 .B \-w, \-\-where
23 Print where your businesshours file is located.
24 .TP
25 .B \-e, \-\-edit
26 Edit your businesshours file with your \fB$EDITOR\fR.
27 .TP
28 .B \--help
29 Print the command line usage.
30 .TP
31 .B tags
32 If provided, only show business hours of places that match one of the provided
33 tags (prefix matching is used).
35 .SH EXAMPLES
36 .TP
37 .B nowopen -p pizza
38 .TP
39 .B output:
40 Jimmy Pesto's Pizzeria: 9:14 left
42 .SH AUTHOR
43 Bruce Hill (bruce@bruce-hill.com)