summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2018-03-22 21:36:29 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2018-03-22 21:36:29 (GMT)
commit7e7680dbf170662c874b9f048a0e2c9812b18ff0 (patch)
tree694563b62e736cfd77be4e7a591897fe400e058a
parentc4bc065184cb84a5649dbd76dbf959a3a312fe48 (diff)
downloadgit-redmine-7e7680dbf170662c874b9f048a0e2c9812b18ff0.zip
git-redmine-7e7680dbf170662c874b9f048a0e2c9812b18ff0.tar.gz
git-redmine-7e7680dbf170662c874b9f048a0e2c9812b18ff0.tar.bz2
add a command to launch a shell inside source code for exploration
-rw-r--r--git_redmine.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/git_redmine.py b/git_redmine.py
index d58444b..22ba258 100644
--- a/git_redmine.py
+++ b/git_redmine.py
@@ -127,6 +127,13 @@ def redmine():
'''
pass
+@redmine.command()
+def shell():
+ import IPython
+ api = get_redmine_api()
+ repo = git.Repo()
+ IPython.embed()
+
@redmine.group()
def issue():