]> git.armaanb.net Git - lightcards.git/blob - man/lightcards.1
2758d2bc9c5e98140b30fc2fc3423672066d965d
[lightcards.git] / man / lightcards.1
1 .\" Automatically generated by Pandoc 2.11.3
2 .\"
3 .TH "lightcards" "1" "February 2021" "0.6.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]-a\f[R], \f[B]\[en]alphabetize\f[R]
26 Alphabetize card order
27 .TP
28 \f[B]-f\f[R], \f[B]\[en]flip\f[R]
29 Show second column first
30 .TP
31 \f[B]-p\f[R], \f[B]\[en]purge\f[R]
32 Purge cache for chosen set
33 .TP
34 \f[B]-r\f[R], \f[B]\[en]reverse\f[R]
35 Reverse card order
36 .TP
37 \f[B]-s\f[R], \f[B]\[en]shuffle\f[R]
38 Shuffle card order
39 .TP
40 \f[B]-v\f[R], \f[B]\[en]version\f[R]
41 Print version and exit
42 .SH KEYBINDINGS
43 .TP
44 \f[B]l\f[R], \f[B]right\f[R]
45 Next card
46 .TP
47 \f[B]h\f[R], \f[B]left\f[R]
48 Previous card
49 .TP
50 \f[B]j\f[R], \f[B]k\f[R], \f[B]up\f[R], \f[B]down\f[R]
51 Flip card
52 .TP
53 \f[B]i\f[R], \f[B]/\f[R]
54 Star card
55 .TP
56 \f[B]0\f[R], \f[B]\[ha]\f[R], \f[B]home\f[R]
57 Go to start of deck
58 .TP
59 \f[B]$\f[R], \f[B]end\f[R]
60 Go to end of deck
61 .TP
62 \f[B]H\f[R], \f[B]?\f[R]
63 Open help screen
64 .TP
65 \f[B]e\f[R]
66 Open input file in $EDITOR
67 .TP
68 \f[B]m\f[R]
69 Open control menu
70 .SH EXIT VALUES
71 .TP
72 \f[B]0\f[R]
73 Success
74 .TP
75 \f[B]1\f[R]
76 Cannot find input file
77 .TP
78 \f[B]2\f[R]
79 Invalid option
80 .SH BUGS, PATCHES
81 .PP
82 https://lists.sr.ht/\[ti]armaan/public-inbox
83 .SH COPYRIGHT
84 .PP
85 Copyright 2021 Armaan Bhojwani <me@armaanb.net>.
86 MIT License
87 .SH AUTHORS
88 Armaan Bhojwani.