Oh. No, not really... I guess `  (yes/no[default])` is too intrusive.

The approach I used in other scripts like this is to not have a default
action... if the user just presses enter I just repeat the question.

Anyway, leave it like this, no worries... eventually we may revisit this
when I implement `clik` support.

(Replying to this comment by email to see if it works...)


On Thu, Aug 8, 2013 at 3:34 PM, damianimc <notifications@github.com> wrote:

> In cit.py:
>
> >          else:
> > -            print 'Creating: %r' % job_name
> > -            jobs_to_update[job_name] = True, xml_filename
> > -
> > -    if len(jobs_to_update) > 0:
> > -        ans = raw_input('Update/Create jobs (yes|no): ')
> > +            print 'Creating %r' % job_info.name
> > +
> > +    for job_name in delete_jobs:
> > +        print
> > +        print 'Deleting %r' % job_name
> > +        print
> > +
> > +    if len(local_jobs) > 0:
> > +        ans = raw_input('Update jobs (y|*n): ')
>
> A way to mark the default action.
> Any better idea?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nicoddemus/cit/pull/29/files#r5665924>
> .
>