mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
12 lines
215 B
Python
12 lines
215 B
Python
|
#!/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])
|