[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Akonadi Commandline Interface Project
From: Kevin Krammer <krammer () kde ! org>
Date: 2014-03-01 21:35:21
Message-ID: 2352003.pStfZ26fm8 () persephone
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic