Move commands into their own files.

This commit is contained in:
Anthony Sottile 2014-06-13 19:49:43 -07:00
parent 111ed02938
commit cdfd3f7670
16 changed files with 736 additions and 673 deletions

View file

@ -0,0 +1,12 @@
from __future__ import print_function
from __future__ import unicode_literals
import os.path
import shutil
def clean(runner):
if os.path.exists(runner.store.directory):
shutil.rmtree(runner.store.directory)
print('Cleaned {0}.'.format(runner.store.directory))
return 0