Lines Matching refs:Action
148 class Action(object):
153 """Log a description of this action.
162 """Execute the action, recording what we did to links_db, if necessary."""
166 class Remove(Action):
187 class Rmtree(Action):
208 class Makedirs(Action):
222 class Symlink(Action):
279 # First, make a plan of action
301 for action in actions:
302 action.announce(planning=True)
308 for action in (a for a in actions if a.dangerous):
309 action.announce(planning=True)
331 ACTION REQUIRED:
343 for action in actions:
344 action.announce(planning=False)
345 action.doit(self._links_db)
390 A list of Action objects.
456 parser.add_option('-d', '--dry-run', action='store_true', default=False,
460 parser.add_option('-c', '--clean-only', action='store_true', default=False,
464 parser.add_option('-f', '--force', action='store_true', default=on_bot,
468 parser.add_option('-n', '--no-prompt', action='store_false', dest='prompt',
470 help='Prompt if we\'re planning to do a dangerous action')
471 parser.add_option('-v', '--verbose', action='store_const',