Limnoria/scripts
James Lu 11d4015f71 Fixes and tests to supybot-plugin-create; modernize the plugin template (#1340)
* supybot-plugin-create: compactify import statements in the template

* supybot-plugin-create: prefer importlib over imp on Python >= 3.4

The imp module is deprecated as of Python 3.4[1], with importlib being the successor. However, importlib is only available in Python 2.7+ and 3.1+, so we should still use a fallback.

[1]: https://docs.python.org/3.6/library/imp.html

* test: add test cases for supybot-plugin-create

* -plugin-create: fix errors when only a subset of args are given

* -plugin-create: rename --real-name to --author/-a

These days, working under a pseudonym or alias is not unheard of, so putting emphasis on real names feels somewhat out of place.

* -plugin-create: add -d as an alias to --desc for consistency
2018-06-20 17:18:46 +02:00
..
supybot Substitute $nick and friends with <console> when exiting on Ctrl-C 2017-09-17 12:07:16 -07:00
supybot-adduser Fix scripts to work with Python 3 without 2to3. 2013-04-27 16:16:08 +02:00
supybot-botchk Merge remote-tracking branch 'supybot/master' into testing 2013-08-24 11:28:29 +02:00
supybot-plugin-create Fixes and tests to supybot-plugin-create; modernize the plugin template (#1340) 2018-06-20 17:18:46 +02:00
supybot-plugin-doc supybot-plugin-doc: Add Python 3 support. 2014-08-10 15:03:08 +02:00
supybot-test Add option --no-setuid to supybot-test 2017-01-10 22:56:17 +01:00
supybot-wizard supybot-wizard: Warn if run with ~/.local/bin as CWD. 2018-04-11 11:57:12 +02:00