diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-02 19:39:27 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-02 19:39:27 +0100 |
commit | e410b29af8f7b8c6dec41ad1c6df36cd58fa5b45 (patch) | |
tree | 3e5d3e6a331908662e8a18ef9c57b49a4bd7e7e9 | |
parent | 7ee45d6cd67064199d8850fa3b20aa5968f4f4f8 (diff) | |
parent | 3818b133f2152594dcddfb758cfbbae2bf4d824e (diff) | |
download | cliapp-e410b29af8f7b8c6dec41ad1c6df36cd58fa5b45.tar.gz |
Release version 0.15.cliapp-0.15
-rw-r--r-- | NEWS | 25 | ||||
-rw-r--r-- | cliapp/__init__.py | 2 | ||||
-rw-r--r-- | debian/changelog | 6 |
3 files changed, 32 insertions, 1 deletions
@@ -1,6 +1,31 @@ NEWS for cliapp =============== +Version 0.15, released 2011-08-02 +--------------------------------- + +* `cliapp.Application` now has a `subcommands` attribute, which is a + directory mapping subcommand names to the functions that implement + them. This provides an alternative way to define new subcommands, + which may be useful in plugin-based applications. +* New method `cliapp.Application.runcmd_unchecked`. +* There are some new options provided by defaults: + - `--list-config-files` lists the config files the application will try + to read + - `--config=FILE` adds a file to the list of configuration files to be + read + - `--no-default-configs` prevents any of the default configuration files + from being used; any `--config` options used after this one will still + be read +* Parsing of string list values in config files has been fixed. INI files + have no standard syntax for presenting files (maybe JSON would be a + better option), but I invented something. How very clever of me. + At the same time, `--dump-config` now formats string list values + properly. +* Default values for string lists work better now: the default is used, + unless the user specifies some values, in which only the values from + the user are used. + Version 0.14, released 2011-07-20 --------------------------------- diff --git a/cliapp/__init__.py b/cliapp/__init__.py index db2bc9c..edd6357 100644 --- a/cliapp/__init__.py +++ b/cliapp/__init__.py @@ -14,7 +14,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -__version__ = '0.14' +__version__ = '0.15' from settings import Settings diff --git a/debian/changelog b/debian/changelog index 7dd240e..25c0ae1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-cliapp (0.15-1) unstable; urgency=low + + * New upstream release. + + -- Lars Wirzenius <liw@liw.fi> Tue, 02 Aug 2011 19:33:07 +0100 + python-cliapp (0.14-1) unstable; urgency=low * New upstream release. |