From 191b1b2d067d38e63dcacc96cd26238bb06493fd Mon Sep 17 00:00:00 2001 From: Julian Paul Glass Date: Tue, 25 Nov 2014 12:01:42 +0000 Subject: [PATCH] supybot-plugin-create: options.desc substitution for README.md --- scripts/supybot-plugin-create | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/supybot-plugin-create b/scripts/supybot-plugin-create index da04faa20..39aa33db9 100644 --- a/scripts/supybot-plugin-create +++ b/scripts/supybot-plugin-create @@ -203,7 +203,9 @@ class %sTestCase(PluginTestCase): '''.lstrip() readmeTemplate = ''' -Insert a description of your plugin here, with any notes, etc. about +%s + +Insert a more detailed description of your plugin here, with any notes, etc. about using it. '''.lstrip() @@ -295,7 +297,7 @@ def main(): name)) writeFile('__init__.py', __init__Template % (copyright, name, options.desc)) writeFile('test.py', testTemplate % (copyright, name, name)) - writeFile('README.md', readmeTemplate) + writeFile('README.md', readmeTemplate % (options.desc,)) pathname = os.path.join(pathname, 'local') os.mkdir(pathname)