Metadata-Version: 2.4
Name: klogg
Version: 0.1.3
Summary: Simple command line work logger
Author-email: Predrag Mandic <predrag@nul.one>
License: MIT
Project-URL: Homepage, https://example.com
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: click-aliases>=1.0
Dynamic: license-file

klogg

Simple command-line work logger.

klogg is a tiny CLI tool to append and view single-line timestamped work log entries.

Where logs are stored
  By default logs are written to:
    ~/.config/klogg/default.log

Install
  pipx install klogg
  or for development:
    pipx install --editable .

Usage
  klogg <message>         # append a single-line log entry (alias: klogg add)
  klogg add <message>     # append a single-line log entry (alias: klogg a)
  klogg a <message>       # alias for add
  klogg ls [DATE]         # list entries for today or given date (YYYY-MM-DD, MM-DD or DD)
  klogg rm                # remove the last log entry (shows it first and prompts (Y/n))

Marker commands (shortcuts)
  klogg pause  (alias: p)  # append the literal "<pause>" to the log
  klogg begin  (alias: b)  # append the literal "<begin>" to the log
  klogg end    (alias: e)  # append the literal "<end>" to the log

Notes
  - When run with no subcommand, klogg behaves like "ls" and shows today's entries.
  - Date formats supported for the ls command:
      YYYY-MM-DD  (exact date)
      MM-DD       (assumes current year)
      DD          (assumes current month & year)

Examples
  klogg add Fixed the widget that caused crashes
  klogg a quick note
  klogg ls             # show today's entries
  klogg ls 2025-12-15  # show entries for 2025-12-15
  klogg ls 12-15       # show entries for Dec 15 of current year
  klogg ls 15          # show entries for day 15 of current month

  # marker shortcuts
  klogg begin          # append "<begin>"
  klogg b              # same as above (alias)
  klogg pause          # append "<pause>"
  klogg p              # same as above (alias)
  klogg end            # append "<end>"
  klogg e              # same as above (alias)

License
  MIT
