dricard / dolog Goto Github PK
View Code? Open in Web Editor NEWSwift script to use with Alfred Workflow to log tasks in Day One
License: MIT License
Swift script to use with Alfred Workflow to log tasks in Day One
License: MIT License
I’m not able to modify the Swift script to work with a journal name that has two words, in this case “Daily Log”
$ dayone2 --journal Daily Log --tags dolog completed\ tasks -- new "completed task: wrote a script" Error: Invalid value(s) for option -j, --journal: Daily, Log
Adding \
in the CLI was successful:
$ dayone2 --journal Daily\ Log --tags dolog completed\ tasks -- new "completed task: wrote a script" Created new entry with uuid: ####
Modifying the Swift script to let dayOneJournal = "Daily\ Log”
resulted in:
~/Documents/GitHub/dolog/DayOneLoggerPlus.swift:17:28: error: invalid escape sequence in literal let dayOneJournal = "Daily\ Log”
I’m guessing I need to modify the replaceSpaces
func or write a second one for the journal title, but I’m basically at my neophyte coding limit already.
Is it possible for the entry to work in the background? I don’t love that Terminal pops into the foreground and remains open. I tried messing around with && exit
and some other commands but I’m not sure how to execute the process properly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.