feat: Implement history tracking with new CLI commands for viewing past transcripts and usage statistics.
This commit is contained in:
9
_toak
9
_toak
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user