Feature #30


Verbose and dry-run

Added by Mikhail Yakshin 3160 days ago. Updated 1604 days ago.

Status:New Start:07/25/2009
Priority:Normal Due date:
Assigned to:- % Done:


Target version:2.1


Implement the following two options:

  • --verbose, -v to dump all commands that a particular module executes to stderr
  • --dry-run, -n to not really execute any destructive commands, just dump them for examination to stderr (implies --verbose)

The (1) is relatively easy to implement, (2) needs further consideration. Most probably we'll have to separate all our command calls as "read-only" and "read-write": "read-only" commands would be executed always, "read-write" commands won't be executed in dry-run mode, thus whenever we call them we can't be sure that they are executed. May be some operations couldn't be done completely at all in dry-run mode: then we should do our best to dump as much command as we can and politely explaining that more couldn't be done in dry-run mode to the user.


Updated by Mikhail Yakshin 1604 days ago

  • Target version changed from 2.0 to 2.1

Postponed to 2.1.

Also available in: Atom PDF