copyright (version 1.3) | index /home/ut3hax/bin/copyright |
copyright
=========
This tool will automatically edit files and add your copyright loaded from a
template. The use of this "template" can be over-ridden using the -t flag.
Features:
* Will not add copyright to file twice.
* Can determine best comment char to use for ini, html, php, and python.
* Manages multiple copyrights.
* Creates default copyright for you.
Modules | ||||||
|
Functions | ||
|
Data | ||
__author__ = 'Josh Lee' __configdir__ = '/home/ut3hax/.mycopyright' __copyright__ = 'PyTis' __created__ = '06:14pm 09 Sep, 2009' __version__ = '1.3' comment_chars = {'css': {'apply': <function css>, 'begin': '/*', 'bin': None, 'check': <function css>, 'end': '*/', 'ext': ['.css'], 'middle': '//'}, 'html': {'apply': <function html>, 'begin': '<!-- ', 'bin': None, 'check': <function html>, 'end': ' -->', 'ext': ['.html', '.htm', '.shtml', '.dhtml', '.xml'], 'middle': '-'}, 'ini': {'apply': <function ini>, 'begin': ';', 'bin': None, 'check': <function ini>, 'end': ';', 'ext': ['.ini'], 'middle': ';'}, 'javascript': {'apply': <function javascript>, 'begin': '/*', 'bin': None, 'check': <function javascript>, 'end': '*/', 'ext': ['.js'], 'middle': '//'}, 'php': {'apply': <function php>, 'begin': '/*', 'bin': 'php', 'check': <function php>, 'end': '*/', 'ext': ['.php', '.php4', '.php5', 'phtml'], 'middle': '//'}, 'python': {'apply': <function python>, 'begin': '#', 'bin': 'python', 'check': <function python>, 'end': '#', 'ext': ['.py', '.pyw'], 'middle': '#'}} css = None html = None ini = None javascript = None php = None python = None |
Author | ||
Josh Lee |