]> git.armaanb.net Git - lightcards.git/blob - man/lightcards.1
c746c5988ca0033796a3c3e38e05e7cb183a6a25
[lightcards.git] / man / lightcards.1
1 .\" Automatically generated by Pandoc 2.11.3
2 .\"
3 .TH "lightcards" "1" "January 2021" "0.2.0" ""
4 .hy
5 .SH NAME
6 .PP
7 lightcards - terminal flashcards from Markdown
8 .SH SYNOPSIS
9 .PP
10 lightcards [options] [input file]
11 .SH DESCRIPTION
12 .PP
13 \f[B]lightcards\f[R] is a Python program that reads data from a two
14 column Markdown (and by extension, HTML) table, and displays flashcards
15 from their contents.
16 .SH POSITIONAL ARGUMENTS
17 .TP
18 \f[B]input file\f[R]
19 Relative or absolute path to the input Markdown or HTML file
20 .SH OPTIONS
21 .TP
22 \f[B]-h\f[R], \f[B]\[en]help\f[R]
23 Show a help message and exit
24 .TP
25 \f[B]-f\f[R], \f[B]\[en]flip\f[R]
26 Show second column first
27 .TP
28 \f[B]-r\f[R], \f[B]\[en]reverse\f[R]
29 Reverse card order.
30 Has no effect when shuffling as well
31 .TP
32 \f[B]-s\f[R], \f[B]\[en]shuffle\f[R]
33 Shuffle card order
34 .TP
35 \f[B]-v\f[R], \f[B]\[en]version\f[R]
36 Print version and exit
37 .SH KEYBINDINGS
38 .TP
39 \f[B]l\f[R], \f[B]right\f[R]
40 Next card
41 .TP
42 \f[B]h\f[R], \f[B]left\f[R]
43 Previous card
44 .TP
45 \f[B]j\f[R], \f[B]k\f[R], \f[B]up\f[R], \f[B]down\f[R]
46 Flip card
47 .TP
48 \f[B]i\f[R], \f[B]/\f[R]
49 Star card
50 .TP
51 \f[B]0\f[R], \f[B]\[ha]\f[R], \f[B]home\f[R]
52 Go to start of deck
53 .TP
54 \f[B]$\f[R], \f[B]end\f[R]
55 Go to end of deck
56 .SH EXIT VALUES
57 .TP
58 \f[B]0\f[R]
59 Success
60 .TP
61 \f[B]1\f[R]
62 Cannot find input file
63 .TP
64 \f[B]2\f[R]
65 Invalid option
66 .SH BUGS, PATCHES
67 .PP
68 https://lists.sr.ht/\[ti]armaan/public-inbox
69 .SH COPYRIGHT
70 .PP
71 Copyright 2021 Armaan Bhojwani <me@armaanb.net>.
72 MIT License
73 .SH AUTHORS
74 Armaan Bhojwani.