You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a script which helps me write my weeklies at the end of the week:
ME=MisterDA
TWD=~/Tarides/admin/weekly # Tarides Weekly Directory
WEEK=$(date +%Y)/$(date +%V)
mkdir -p "$TWD/$WEEK"
okra generate >>"$TWD/$WEEK/$ME.md"$VISUAL"$TWD/$WEEK/$ME.md"# or $EDITOR or `nano` or `vi`
okra lint "$TWD/$WEEK/$ME.md"
git pull && git commit -a -m "$ME week $WEEK"&& git push
It could be nice if the location of the weeklies (could default to something below $XDG_DATA_HOME) could be configured. Then, okra generate (or a variant) would know where to write my file instead of writing it to stdout, and instantly open my editor to let me polish it (think of Git's core.editor config option).
Then, okra lint could get smarter by linting my latest weekly by default.
A new okra edit command could generate my latest report, spin up my editor with the report opened, and run the linter when the editor exits.
The text was updated successfully, but these errors were encountered:
I've a script which helps me write my weeklies at the end of the week:
It could be nice if the location of the weeklies (could default to something below
$XDG_DATA_HOME
) could be configured. Then,okra generate
(or a variant) would know where to write my file instead of writing it to stdout, and instantly open my editor to let me polish it (think of Git'score.editor
config option).Then,
okra lint
could get smarter by linting my latest weekly by default.A new
okra edit
command could generate my latest report, spin up my editor with the report opened, and run the linter when the editor exits.The text was updated successfully, but these errors were encountered: