1
0

feat: Implement history tracking with new CLI commands for viewing past transcripts and usage statistics.

This commit is contained in:
2026-02-28 14:06:58 +01:00
parent eadbd8d46d
commit a08838fbc4
12 changed files with 349 additions and 4 deletions

9
_toak
View File

@@ -20,6 +20,8 @@ _toak() {
'show:Show current configuration'
'config:Update a specific configuration setting'
'skill:Manage dynamic skills (list, add, remove)'
'history:Display recent transcriptions with timestamps'
'stats:Display usage statistics and analytics'
)
_arguments -C \
@@ -56,6 +58,13 @@ _toak() {
)
_describe -t commands 'skill command' skill_cmds
;;
history)
_arguments \
'(-n --num)'{-n,--num}'[Number of recent entries to show]:count:(5 10 20 50)' \
'--grep[Search through transcription history]:pattern:' \
'--export[Export transcription history to a Markdown file]:file:_files' \
'--shred[Securely delete transcription history]'
;;
*)
_message "no more arguments"
;;