Secure and sleek dosage logging for the terminal.
skrive [-f path to doses.dat]
skrive log [-f path to doses.dat] [<quantity> <substance> <route> [time-spec]]
The log command's time argument can be formatted using either dhm formatting or as a number of minutes.
For example, 90 minutes can be formatted as follows;
1h30m1h3090
Skrive selects a path for the doses file in the following order:
- The path provided with the
-fflag, as shown above - The path given by the environment variable
SKRIVE_DOSES_PATH, if set - The path to a file called
doses.datin your home directory~/doses.daton Unix-like platformsC:\Users\<user>\doses.daton Windows
Skrive will attempt to create the file if it does not exist.