Skip to main content

daybook is a reading log cli app

Project description

daybook: reading log for the cli

daybook is a reading log app made for the command-line interface (cli).

Install

pip install daybook

Usage

Adding Reading Log Entries

daybook [-h] [-v] {add,del,books,entries,logs,update,config} ...

usage: daybook add [-h] [-r READER] [-k BOOK_KEY] [-t TITLE] [-a AUTHOR] [-d DATE] [--start START] --end END

optional arguments: -h, --help show this help message and exit

reading log: -r READER, --reader READER

book: -k BOOK_KEY, --key BOOK_KEY this can be used instead of title and author -t TITLE, --title TITLE requires author -a AUTHOR, --author AUTHOR requires title

date: -d DATE, --date DATE

pages: --start START --end END

Deleting Reading Log Entries

usage: daybook del [-h] [-r READER] -e ENTRY_ID

optional arguments: -h, --help show this help message and exit

reading log: -r READER, --reader READER

entry: -e ENTRY_ID, --entry ENTRY_ID

Querying Books

usage: daybook books [-h] [-q QUERY]

optional arguments: -h, --help show this help message and exit -q QUERY, --query QUERY this query returns all books containing this value in their titles, authors, or subtitles

Querying Reading Log Entries

usage: daybook entries [-h] [-r READER] [--from FROM_DATE] [--to TO_DATE]

optional arguments: -h, --help show this help message and exit

reading log: -r READER, --reader READER

date range: --from FROM_DATE --to TO_DATE

Listing Reading Logs

sage: daybook logs [-h]

optional arguments: -h, --help show this help message and exit

Updating Entries, Books, Reading Logs, etc.

usage: daybook update [-h] [-r READER] (-e ENTRY_ID | -b KEY | -l KEY)

optional arguments: -h, --help show this help message and exit -r READER, --reader READER -e ENTRY_ID, --entry ENTRY_ID -b KEY, --book KEY -l KEY, --log KEY

App Settings

usage: daybook config [-h] [--get-default-reading-log] [--set-default-reading-log DEFAULT_READING_LOG]

optional arguments: -h, --help show this help message and exit

reading log: --get-default-reading-log --set-default-reading-log DEFAULT_READING_LOG

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daybook-1.0.4.tar.gz (46.1 kB view hashes)

Uploaded Source

Built Distribution

daybook-1.0.4-py3-none-any.whl (31.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page