diff makeitso/cli.py @ 174:aed8c4af5f26

STUB: makeitso/cli.py makeitso/script2package.py setup.py
author Jeff Hammel <k0scist@gmail.com>
date Thu, 16 Jan 2014 13:31:54 -0800
parents b2152efec89a
children
line wrap: on
line diff
--- a/makeitso/cli.py	Wed Dec 11 04:57:15 2013 -0800
+++ b/makeitso/cli.py	Thu Jan 16 13:31:54 2014 -0800
@@ -7,7 +7,7 @@
 
 class MakeItSoCLI(object):
   """command line interface to a makeitso template"""
-  
+
   def __init__(self, template_class):
     self.template_class = template_class
 
@@ -50,11 +50,12 @@
 
     # template variables
     variables = self.get_variables(options)
-    
+
     # return the variables and the output
     return variables, args[0]
-    
+
   def __call__(self, *args):
+    """interpolate template"""
     variables, output = self.parse(list(args))
     template = self.template_class(variables=variables)
     template.substitute({}, output=output)