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 datysag export- Eksportuje wszystkie wpisy do HTMLsag backup- Tworzy lokalny backup .tar.gz z datąsag print- Wyświetla wszystkie aktualne stronysag help- Wyświetla pomoc
Obsługiwane formaty dat w sekcji Plany
YYYY-MM-DD- np.2026-03-11 9:00 StomatologDD.MM.YYYY- np.11.03.2026 9:00 StomatologYYYY.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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sag-1.0.2-py3-none-any.whl
(10.1 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d04d6e7d21e3574afc948eb540a515f49eaa399d71a56b3c1a42119e0d8d8741
|
|
| MD5 |
eb8f75591dd8a1e3acba402871edc3ed
|
|
| BLAKE2b-256 |
654118c4cb0065517653e6e0de880065176a6edef490e8e0d5141b951ef8dd72
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4920e99cc84240766b070d501ccfdcace70bffff08255da69eead8788f6fc555
|
|
| MD5 |
d1facd55ea2d31433ad231bfe06fd5e0
|
|
| BLAKE2b-256 |
9d4f20b2d52b098c180945bc59e62690f584773432009499b34f32ceb165c4f3
|