txtv

Swiss text tv in the terminal
git clone https://git.in0rdr.ch/txtv.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

commit 96b15a6c2b61790c58a1686402b8c40d639bb683
parent 6dcb0806a076c0fe4f491eb3714cc4210406f876
Author: Isak Lindhé <isak.e.lindhe@gmail.com>
Date:   Sun, 10 Feb 2019 22:14:18 +0100

updated readme for commands

Diffstat:
MREADME.md | 18++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -7,12 +7,22 @@ Now you can read it without touching your mouse or your tv-remote :) ## Usage -The only argument is the number of the page you want to look at. -Page 100 is the front page and will be shown if given no arguments. -Page 700 is the table of contents. +Running with no arguments will enter interactive mode. +From there you can run any of these commands: ` -./txtv.py 140 +help | h | ? -- show this help text. +quit | q | exit -- quit the program (duh) +list | ls | l -- list all articles +next | n | > -- show next available page. +previous | prev | p | < -- show previous available page. +<PAGE NUMBER> -- show the page at the specified number +` + +You can also give any of these arguments as an argument to run un-interactively. Except for next and previous, because that would make no sense. + +` +txtv.py 100 ` ## Links