annotate src/tools/__init__.py @ 2269:606ff34d30f2
jp (blog, common): moved and improved edit code from blog:
- a new "common" module is there for code commonly used in commands
- moved code for editing item with $EDITOR there
- moved code to identify item to edit there
- aforementioned fontions have been made generic
- a class BaseEdit is now available to implement edition
- HTTPS links are handled (only HTTP links were working before)
- item can be use if all previous methods fail (url, keyword, file path).
author |
Goffi <goffi@goffi.org> |
date |
Tue, 27 Jun 2017 16:23:28 +0200 |
parents |
9c6ee3f9ab29 |
children |
|