Make log script work on OSX.
[?]
Dec 10, 2017, 6:59 AM
VRMUVBP66QHIOSLOFYLN7W6EDCZVB42Y6X2MHDMCT3GCJ3KCW7DACDependencies
- [2]
E7GQXOIDAllow the use of a local .env file to store username/project ID for UI scripts. - [3]
UOG5H2TWDefault work logging credit to logged-in user. - [4]
CDHZL3RPAdd a couple of other CLI utilities for interacing with the service.
Change contents
- edit in scripts/log.sh at line 15
fiif [ $(uname) == 'Darwin' ]; thenafter=$(date -v-1m +"%Y-%m-%dT%H:%M:%S%z")elseafter=$(date -Iseconds --date='1 month ago') - replacement in scripts/log.sh at line 25
"https://aftok.com/projects/$PROJECT/logEntries?after=$(date -Iseconds --date='1 month ago')"[3.972]"https://aftok.com/projects/$PID/logEntries?after=${after}"