old_contents: from docopt import docopt
  from invoke import run
  
  def main():
      """stormpy
  
      Usage:
          stormpy run-local
          stormpy debug-local
  
      Options:
          -h --help           Show this screen.
          --version           Show version.
          --debug             Debug output.
      """
      args = docopt(main.__doc__, version="stormpy 0.1")
      if args["run-local"]:
          run("lein run -s topologies/wordcount.clj")
      elif args["debug-local"]:
          print "debug local"
  
  
  if __name__ == "__main__":
      main()
  
new_contents: from docopt import docopt
  from invoke import run
  
  def main():
      """stormpy
  
      Usage:
          stormpy run-local
          stormpy debug-local
          stormpy list
  
      Options:
          -h --help           Show this screen.
          --version           Show version.
          --debug             Debug output.
      """
      args = docopt(main.__doc__, version="stormpy 0.1")
      if args["run-local"]:
          run("lein run -s topologies/wordcount.clj")
      elif args["debug-local"]:
          run("lein run -s topologies/wordcount.clj")
      elif args["list"]:
          print "invoke tasks:"
          run("invoke -l")
          print
          print "fabric tasks:"
          run("fab -l")
  
  
  if __name__ == "__main__":
      main()
  
subject: add "list" subcommand