2 % Armaan Bhojwani <me@armaanb.net>
6 phrases - Latin famous phrases in the terminal
12 **phrases** is a Python script that reads Latin famous phrases from a SQLite database and returns them randomly according to a set of user-defined parameters given through the CLI options.
16 : Show a help message and exit
19 : Print the id of the phrase.
22 : Print the Latin phrase (default)
25 : Print the English translation.
28 : Print any notes on phrase.
33 **-m** [length], **--min** [length]
34 : Set the minimum length of the Latin phrase.
36 **-M** [length], **--max** [length]
37 : Set the maximum length of Latin phrase.
40 : Print number of possible phrases.
42 **-f** [path], **--file** [path]
43 : Set the path of the phrase database.
47 : Display a random Latin phrase
50 : Display a random Latin phrase, its English translation, and any notes on it
52 **phrases -p -m 10 -M 15**
53 : Display the number of phrases in the database with a length between 10 and 15 inclusive.
60 : Cannot find phrase database
66 https://lists.sr.ht/~armaan/public-inbox
69 Copyright 2021 Armaan Bhojwani <me@armaanb.net>. MIT License