Functionality, Commands and Syntax #6
Labels
No Label
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Status: Pending Merge
Status: Unitiliased
Status: WIP
Type: Bug
Type: Documentation
Type: Enhancement
Type: Feature
Type: Maintenance
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LimnoriaPlugins/DoseLogs#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Functions:
now
past
frequence-interval average
latest Logentry
specific logentry (isn't this a generalized form of 1.)
multi-dose lookups
edit-field
annotate
revert-change
nullify-field
undo-doselog
remove-entries
totaldosecount
period-baseddosecount (interval and/or timestamp)
+filter patterns for custom query
Commands with Syntax:
Breakdown and issues as they come up.
For the
amount
field when logging a dose maybe we can use a converter which will be available in command wrapping usingaddConverter()
. Suggested converter namesqty
For logging doses for the past is it better to use the hacky
--ago HHMM
as before, or to use thehumanized
form--ago 2h30m
and what about the ISO Time Format (resolution possible: 1 sec and setting Offset component is disallowed.Adding
@dose <amount> <name> [<roa>] [--notes [[note1] [note2]..[note n]]]
@dose [--ago <HHMM>] <amount> <name> [<roa>]
@doselog --from <HHMM> --till <HHMM> [--spread <coeff>] [--total] <amount> <name> [<roa>]
??Lookup
@lastdose
@lastdose <n>
@querydoses
<n>
or--interval 2h30m
or--tstamp 2020-10-01T21:00:00
Some good inspiration available from https://github.com/psybits/gopsydose