aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_configure.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-08-24 13:55:49 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-08-24 13:55:49 +0200
commit03b6afa2f3a73bdecf29ba9c19ef1877bfd596a5 (patch)
treefd3e2ab7977ff3dcc6df3491c9fdb47e7afeea86 /commands/bridge_configure.go
parent2585726ac39c95b5ad81bc5bece003b79c0b5faa (diff)
downloadgit-bug-03b6afa2f3a73bdecf29ba9c19ef1877bfd596a5.tar.gz
docs: update implementation table
docs: add bridge usage examples
Diffstat (limited to 'commands/bridge_configure.go')
-rw-r--r--commands/bridge_configure.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/commands/bridge_configure.go b/commands/bridge_configure.go
index e3576ead..74ccf298 100644
--- a/commands/bridge_configure.go
+++ b/commands/bridge_configure.go
@@ -160,7 +160,7 @@ Private:
Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
Successfully configured bridge: default
-# For Github
+# For GitHub
git bug bridge configure \
--name=default \
--target=github \
@@ -172,7 +172,14 @@ git bug bridge configure \
git bug bridge configure \
--name=default \
--target=launchpad-preview \
- --url=https://bugs.launchpad.net/ubuntu/`,
+ --url=https://bugs.launchpad.net/ubuntu/
+
+# For Gitlab
+git bug bridge configure \
+ --name=mybridge \
+ --target=github \
+ --url=https://github.com/michaelmure/git-bug \
+ --token=$(TOKEN)`,
PreRunE: loadRepo,
RunE: runBridgeConfigure,
}