Blog2013 ≫ Testing blogging from the command line

I've written a new thing where I can blog from the command line, mostly because my authentication on my website is borked. This is the first post trying this technique so I hope it works. What I do is type:

blog Testing blogging from the command line

which then opens my editor where I can write the body (this bit you are reading now), which saves the file, scps it to the server1, then runs a command on the server to load that file into the database.This has taken me all lunchtime to figure out. I did not bring any food in today but was planning to go for a walk. That's out of the window now.I can also edit old blog posts with

blog 22128

to edit the blog post with id 22128... I do everything on the command line where possible so it makes sense to do this too, hopefully it will encourage me to write more.Hopefully I'll fix the authentication so I can still use the web if I want to and [reply]you can post a comment too[/reply]...

UPDATE: and it worked!

⬅️ :: ➡️

Paul Clarke's blog - I live in Hythe in the deep South. Wed + dad to two, I'm a full stack web engineer, + I do js / Node, some ruby, python, php etc. I like pubbing, running, eating, home-automation and other diy jiggery-pokery, history, family tree stuff, Television, squirrels, pirates, lego, and TIME TRAVEL.