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.2.tar.gz (9.9 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.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sag-1.0.2.tar.gz
  • Upload date:
  • Size: 9.9 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.2.tar.gz
Algorithm Hash digest
SHA256 d04d6e7d21e3574afc948eb540a515f49eaa399d71a56b3c1a42119e0d8d8741
MD5 eb8f75591dd8a1e3acba402871edc3ed
BLAKE2b-256 654118c4cb0065517653e6e0de880065176a6edef490e8e0d5141b951ef8dd72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sag-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4920e99cc84240766b070d501ccfdcace70bffff08255da69eead8788f6fc555
MD5 d1facd55ea2d31433ad231bfe06fd5e0
BLAKE2b-256 9d4f20b2d52b098c180945bc59e62690f584773432009499b34f32ceb165c4f3

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