Mercurial > libervia-backend
diff CONTRAT_SOCIAL @ 1866:397ef87958b9
jp (blog): edit command, first draft:
- can edit a new or existing item, by default edit a new item
- item are selected with a shortcut, for now only "new" and "last" are handled. URI handling is planed, specially xmpp: URIs
- file are edited using EDITOR env variable, or editor in [jp] section in sat.conf
- current syntax is used, file extension is choosed according to syntax, to make syntax coloration and other goodies in editor available
- if file is empty or not modified, nothing is published
- for now, title, tags and commend desactivation are handled with optional arguments, but other are planed, and a metadata system should come soon
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 01 Mar 2016 01:54:21 +0100 |
parents | 1e3b1f9ad6e2 |
children | 1d12e7a3401d |