[Kde-pim] Akonadi Commandline Interface Project

Kevin Krammer krammer at kde.org
Sat Mar 1 21:35:21 GMT 2014


On Saturday, 2014-03-01, 15:07:06, Bhaskar Kandiyal wrote:
> On Saturday 01 March 2014 12:33 AM, Kevin Krammer wrote:
> > I'll have a look at your repository over the weekend. But sounds very
> > promising :)
> 
> That would be great thanks :)
> 
> >> For the Clear command, just some things that I've noticed from
> >> a quick look though the code:
> >> 
> >> This is a dangerous command (extremely so!).  So as to avoid any user
> >> prompting for confirmation (which is not so useful for command line
> >> scripting), there is a check for such commands which needs a magic
> >> variable to be set in the environment in order to be able to execute
> >> such commands.
> > 
> > I think we would rather go with a special commandline switch, e.g. like
> > --force
> > 
> > Maybe even requiring either that or --dry-run (or similar), like git clean
> > does.
> > 
> > In kabcclieent I only had the dry-run/simulate option, i.e. in order to
> > safely test commands, but without it would always execute unhindered.
> > But since this can do a lot more explicit force might work better.
> 
> Adding --force and --dry-run option sounds neat! Also, maybe we can have
> --dry-run as a global option for all commands?

Yes, that would indeed be a good idea.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140301/32e7cc7c/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list