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.1.tar.gz
(9.5 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.1-py3-none-any.whl
(9.7 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f38eb9cda7d757fb72b034267ed5fd42e12d1643fabfb73c5b41cf5a5a211b8b
|
|
| MD5 |
15cae9e1679faf0ede86065183d1b7fe
|
|
| BLAKE2b-256 |
845eb280c4048bbf2dc9b5b40fd5c63cd618926879b3dc4c0cb83763f62e2134
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc8c32044352d5f7a4045888e873decadc578e93412faed34c4b95f41946f094
|
|
| MD5 |
95e37cc0c30aeb85407ee0ccdbfd9f82
|
|
| BLAKE2b-256 |
4760a3ab89a6453c03476ad3a86a64ef24c9b3c8a5ef5a4f62473f3747f6a785
|