]> git.armaanb.net Git - lightcards.git/blob - man/lightcards.1.md
Bump version number
[lightcards.git] / man / lightcards.1.md
1 % lightcards(1) 0.3.0
2 % Armaan Bhojwani
3 % January 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 **-f**, **--flip**
23 : Show second column first
24
25 **-r**, **--reverse**
26 : Reverse card order. Has no effect when shuffling as well
27
28 **-s**, **--shuffle**
29 : Shuffle card order
30
31 **-v**, **--version**
32 : Print version and exit
33
34 # KEYBINDINGS
35 **l**, **right**
36 : Next card
37
38 **h**, **left**
39 : Previous card
40
41 **j**, **k**, **up**, **down**
42 : Flip card
43
44 **i**, **/**
45 : Star card
46
47 **0**, **^**, **home**
48 : Go to start of deck
49
50 **$**, **end**
51 : Go to end of deck
52
53 # EXIT VALUES
54 **0**
55 : Success
56
57 **1**
58 : Cannot find input file
59
60 **2**
61 : Invalid option
62
63 # BUGS, PATCHES
64 https://lists.sr.ht/~armaan/public-inbox
65
66 # COPYRIGHT
67 Copyright 2021 Armaan Bhojwani <me@armaanb.net>. MIT License