potash / drain

pipeline library
MIT License
12 stars 5 forks source link

add "keep" command line functionality #50

Closed potash closed 6 years ago

potash commented 6 years ago

This PR moves the current drain command line functionality into the subcommand drain execute and creates a new subcommand drain keep (#7):

$ drain --help
usage: to_drakefile.py [-h] {execute,keep} ...

positional arguments:
  {execute,keep}
    execute       Execute the specified workflows.
    keep          Delete all outputs except those which are targets of the specified workflows.

optional arguments:
  -h, --help      show this help message and exit