Home | History | Annotate | Download | only in files

Lines Matching refs:Action

127 class Action(object):
132 """Log a description of this action.
141 """Execute the action, recording what we did to links_db, if necessary."""
145 class Remove(Action):
166 class Rmtree(Action):
187 class Makedirs(Action):
201 class Symlink(Action):
258 # First, make a plan of action
280 for action in actions:
281 action.announce(planning=True)
287 for action in (a for a in actions if a.dangerous):
288 action.announce(planning=True)
310 ACTION REQUIRED:
322 for action in actions:
323 action.announce(planning=False)
324 action.doit(self._links_db)
369 A list of Action objects.
435 parser.add_option('-d', '--dry-run', action='store_true', default=False,
439 parser.add_option('-c', '--clean-only', action='store_true', default=False,
443 parser.add_option('-f', '--force', action='store_true', default=on_bot,
447 parser.add_option('-n', '--no-prompt', action='store_false', dest='prompt',
449 help='Prompt if we\'re planning to do a dangerous action')
450 parser.add_option('-v', '--verbose', action='store_const',