jenkins-bot has submitted this change and it was merged.

Change subject: Bug 65089: add 'shell' script
......................................................................


Bug 65089: add 'shell' script

Change-Id: I5f021318a962cfe7815dfc2a71823664061254db
---
A scripts/shell.py
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/shell.py b/scripts/shell.py
new file mode 100644
index 0000000..2af0394
--- /dev/null
+++ b/scripts/shell.py
@@ -0,0 +1,10 @@
+"""
+Spawns an interactive Python shell.
+
+Usage:
+    python pwb.py shell
+"""
+
+if __name__ == "__main__":
+    import code
+    code.interact("""Welcome to the Pywikibot interactive shell!""")

-- 
To view, visit https://gerrit.wikimedia.org/r/132497
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f021318a962cfe7815dfc2a71823664061254db
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to