Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive-edit-send loop #1

Open
manpages opened this issue Aug 18, 2015 · 0 comments
Open

Receive-edit-send loop #1

manpages opened this issue Aug 18, 2015 · 0 comments

Comments

@manpages
Copy link
Owner

Right now we can only instantiate blog posts with blog.

It's good enough, I edit my posts on remote anyway and this program just simplifies timestamping
and file placement.

Ideally though, we'd like to be able to say something like

λ blog edit haskonf

and get output like

Posts matching "haskonf":
1. 2015-08-18-haskonf.html
One post matched, not querying for post number...
Launching $EDITOR

then edit the file and send it back (optionally with refreshed timestamp).

Also, if there is no existing blog post that matches selector, we should be able to start writing new one:

λ blog edit abrakadabra
Posts matching "abrakadabra":
No posts found, do you want to write a new one called "abrakadabra"? [Yn]

Launching $EDITOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant