Jim Battle wrote:
> What I'd like most of the time is a middle position -- report only newly
> created
> directories and files, modified files, and errors.
[...]
> Locally I've made an ugly patch to add a new flag, "minverbose". Here is the
> patch for my
> two minute quick and dirty fix:
Hi Jim,
That's a good idea, although I'm no so keen on the 'miniverbose' name.
So instead, I've made the default -v/--verbose option less verbose,
with the option to specify it twice to get the existing really verbose
behaviour.
$ ttree -v
$ ttree -v -v
I've also added the --colour/--color option (you can guess what that does)
and the --summary option:
Summary:
406 files processed
42 files copied
3 directories created
79 files skipped (not modified)
114 files skipped (ignored)
I've committed the changes to subversion and I'll push out another developer
release once the current one has had time to settle and tickle any bugs.
http://template-toolkit.org/svnweb/Template2/revision/?rev=1195
Thanks for your input.
A
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates