Skip to main content

SAG - Simple Activity Logger / Blog CLI

Project description

SAG - Simple Activity Logger

Narzędzie CLI do zarządzania wpisami bloga / dziennikiem aktywności.

Instalacja

cd /home/tom/github/pyfunc/sag
pip install -e .

Lub bezpośrednio:

ln -sf /home/tom/github/pyfunc/sag/src/sag/cli.py ~/.local/bin/sag
chmod +x ~/.local/bin/sag

Dostępne komendy

  • sag new - Tworzy nowy plik z dzisiejszą datą
  • sag termin DATE - Tworzy planowany wpis na podaną datę (format: YYYY-MM-DD)
  • sag parse - Parsuje sekcję Plany i tworzy wpisy na przyszłe daty
  • sag export - Eksportuje wszystkie wpisy do HTML
  • sag backup - Tworzy lokalny backup .tar.gz z datą
  • sag print - Wyświetla wszystkie aktualne strony
  • sag help - Wyświetla pomoc

Obsługiwane formaty dat w sekcji Plany

  • YYYY-MM-DD - np. 2026-03-11 9:00 Stomatolog
  • DD.MM.YYYY - np. 11.03.2026 9:00 Stomatolog
  • YYYY.MM.DD - np. 2026.03.11 9:00 Stomatolog

Przykład użycia

# Tworzenie nowego wpisu na dziś
sag new

# Tworzenie planowanego wpisu
sag termin 2026-03-15

# Parsowanie planów i tworzenie wpisów
sag parse

# Eksport do HTML
sag export

# Backup
sag backup

License

Apache License 2.0 - see LICENSE for details.

Author

Created by Tom Sapletta - tom@sapletta.com

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

sag-1.0.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sag-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file sag-1.0.1.tar.gz.

File metadata

  • Download URL: sag-1.0.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sag-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f38eb9cda7d757fb72b034267ed5fd42e12d1643fabfb73c5b41cf5a5a211b8b
MD5 15cae9e1679faf0ede86065183d1b7fe
BLAKE2b-256 845eb280c4048bbf2dc9b5b40fd5c63cd618926879b3dc4c0cb83763f62e2134

See more details on using hashes here.

File details

Details for the file sag-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sag-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sag-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc8c32044352d5f7a4045888e873decadc578e93412faed34c4b95f41946f094
MD5 95e37cc0c30aeb85407ee0ccdbfd9f82
BLAKE2b-256 4760a3ab89a6453c03476ad3a86a64ef24c9b3c8a5ef5a4f62473f3747f6a785

See more details on using hashes here.

Supported by

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