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