new_contents: #!/usr/bin/env python
  
  """
  Usage:
      doctpl -t <template> <file>...
      doctpl -l|--list
      doctpl -p|--position
  
  Options:
      -t <template>   init files with template.
      -l --list       list all avaliable templates.
      -p --position   print absolute path of where templates exists.
  """
  
  from __future__ import unicode_literals
  from __future__ import print_function
  
  from docopt import docopt
  from bussiness import ToolSet
  
  # for test
  import os
  from bussiness import _GLOBAL
  _GLOBAL.DIR_PATH = os.path.abspath('./.doctpl')
  
  
  def main():
      arguments = docopt(
          __doc__,
          version='0.1',
      )
  
      toolset = ToolSet()
  
      if arguments['<file>']:
          # copy template
          template_name = arguments['-t']
          targets = arguments['<file>']
          for target in targets:
              try:
                  toolset.make_copy(target, template_name)
              except Exception as e:
                  info = str(e)
                  print(info)
  
      elif arguments['--list']:
          templates = list(toolset.avaliable_templates)
          print('\t'.join(templates))
  
      elif arguments['--position']:
          print(toolset.dir_abs_path)
  
  
  if __name__ == '__main__':
      main()
  
subject: add interface