Limnoria/scripts/newplugin.py
James Vega c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00

13 lines
272 B
Python
Executable File

#!/usr/bin/env python
import os
import sys
import shutil
if len(sys.argv) < 2:
print 'Usage: %s <plugin name>' % sys.argv[0]
sys.exit(-1)
shutil.copy('plugins/template.py', 'plugins/%s.py' % sys.argv[1])
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: