usawa

Signed, immutable accounting.
Log | Files | Refs | Submodules | LICENSE

commit 0a5cccc3c47b22111820f75c588a30dec5bd2e8f
parent c04ea4f935225e848fd14ce121defdca05c0f756
Author: lash <dev@holbrook.no>
Date:   Tue, 26 May 2026 09:17:37 -0600

WIP implement linking in entry edit cli

Diffstat:
Mdummy/requirements.txt | 4++--
Mdummy/setup.py | 4++--
Mdummy/usawa/cli/entry.py | 8++++++++
3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dummy/requirements.txt b/dummy/requirements.txt @@ -4,8 +4,8 @@ lxml==6.0.2 pycparser==2.23 PyNaCl==1.6.0 python-gnupg==0.4.9 -rencode==1.0.8 -wheepy[valkey]~=0.0.3 +rencode==1.0.6 +wheepy[valkey,fs]~=0.0.6a1 filemagic~=1.6 PyGObject~=3.52.3 xdg-base-dirs~=6.0.2 diff --git a/dummy/setup.py b/dummy/setup.py @@ -10,11 +10,11 @@ varints_dir = os.path.join(aux_dir, 'varints', 'varints') setup( install_requires=[ "filemagic~=1.6", - "wheepy[valkey,fs]~=0.0.5a2", + "wheepy[valkey,fs]~=0.0.6a1", "confini~=0.6.5", "lxml~=6.0.2", "PyNaCl~=1.6.0", - "rencode~=1.0.8", + "rencode==1.0.6", "hexathon~=0.1.7", "xdg-base-dirs~=6.0.2", "varints@file://" + varints_dir, diff --git a/dummy/usawa/cli/entry.py b/dummy/usawa/cli/entry.py @@ -30,6 +30,8 @@ v: view matched attachment (in any) s: skip entry t: save entry to draft w: write entry +l: link +u: unlink q: quit """ w.write(s + "\n") @@ -396,6 +398,12 @@ class EntrySession: if v == 'r': handle_reset(self.ctx, self.entry, v) return True + if v == 'l': + handle_link(self.ctx, self.entry, v) + return True + if v == 'u': + handle_unlink(self.ctx, self.entry, v) + return True if v == 's': return False logg.error('invalid input')