]> git.armaanb.net Git - lightcards.git/blob - man/lightcards.1
Make control menu always accessible with "m"
[lightcards.git] / man / lightcards.1
1 .\" Automatically generated by Pandoc 2.11.3
2 .\"
3 .TH "lightcards" "1" "January 2021" "0.4.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 .TP
57 \f[B]H\f[R], \f[B]?\f[R]
58 Open help screen
59 .TP
60 \f[B]e\f[R]
61 Open input file in $EDITOR
62 .TP
63 \f[B]m\f[R]
64 Open control menu
65 .SH EXIT VALUES
66 .TP
67 \f[B]0\f[R]
68 Success
69 .TP
70 \f[B]1\f[R]
71 Cannot find input file
72 .TP
73 \f[B]2\f[R]
74 Invalid option
75 .SH BUGS, PATCHES
76 .PP
77 https://lists.sr.ht/\[ti]armaan/public-inbox
78 .SH COPYRIGHT
79 .PP
80 Copyright 2021 Armaan Bhojwani <me@armaanb.net>.
81 MIT License
82 .SH AUTHORS
83 Armaan Bhojwani.