]> git.armaanb.net Git - lightcards.git/blob - man/lightcards.1.md
Bump version to 0.6.0
[lightcards.git] / man / lightcards.1.md
1 % lightcards(1) 0.6.0
2 % Armaan Bhojwani
3 % February 2021
4
5 # NAME
6 lightcards - terminal flashcards from Markdown
7
8 # SYNOPSIS
9 lightcards [[options]] [input file]
10
11 # DESCRIPTION
12 **lightcards** is a Python program that reads data from a two column Markdown (and by extension, HTML) table, and displays flashcards from their contents.
13
14 # POSITIONAL ARGUMENTS
15 **input file**
16 : Relative or absolute path to the input Markdown or HTML file
17
18 # OPTIONS
19 **-h**, **--help**
20 : Show a help message and exit
21
22 **-a**, **--alphabetize**
23 : Alphabetize card order
24
25 **-f**, **--flip**
26 : Show second column first
27
28 **-p**, **--purge**
29 : Purge cache for chosen set
30
31 **-P**, **--purge-all**
32 : Purge all caches
33
34 **-r**, **--reverse**
35 : Reverse card order
36
37 **-s**, **--shuffle**
38 : Shuffle card order
39
40 **-v**, **--version**
41 : Print version and exit
42
43 # KEYBINDINGS
44 **l**, **right**
45 : Next card
46
47 **h**, **left**
48 : Previous card
49
50 **j**, **k**, **up**, **down**
51 : Flip card
52
53 **i**, **/**
54 : Star card
55
56 **0**, **^**, **home**
57 : Go to start of deck
58
59 **$**, **end**
60 : Go to end of deck
61
62 **H**, **?**
63 : Open help screen
64
65 **e**
66 : Open input file in $EDITOR
67
68 **m**
69 : Open control menu
70
71 # EXIT VALUES
72 **0**
73 : Success
74
75 **1**
76 : Cannot find input file
77
78 **2**
79 : Invalid option
80
81 # BUGS, PATCHES
82 https://lists.sr.ht/~armaan/public-inbox
83
84 # COPYRIGHT
85 Copyright 2021 Armaan Bhojwani <me@armaanb.net>. MIT License