bridge_configure_doc.go

 1// Code generated by doc/gen_docs.go; DO NOT EDIT.
 2
 3package commands
 4
 5var bridgeConfigureExample = `# Interactive example
 6[1]: github
 7[2]: gitlab
 8[3]: jira
 9[4]: launchpad-preview
10
11target: 1
12name [default]: default
13
14Detected projects:
15[1]: github.com/a-hilaly/git-bug
16[2]: github.com/MichaelMure/git-bug
17
18[0]: Another project
19
20Select option: 1
21
22[1]: user provided token
23[2]: interactive token creation
24Select option: 1
25
26You can generate a new token by visiting https://github.com/settings/tokens.
27Choose 'Generate new token' and set the necessary access scope for your repository.
28
29The access scope depend on the type of repository.
30Public:
31	- 'public_repo': to be able to read public repositories
32Private:
33	- 'repo'       : to be able to read private repositories
34
35Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
36Successfully configured bridge: default
37
38# For Github
39git bug bridge configure \
40    --target=github \
41    --login==$(LOGIN) \
42    --owner==$(OWNER) \
43    --project==$(PROJECT) \
44    --token=$(TOKEN) \
45    --url=https://github.com/MichaelMure/git-bug \
46
47
48# For Gitlab
49git bug bridge configure \
50    --target=gitlab \
51    --login==$(LOGIN) \
52    --token=$(TOKEN) \
53    --url=https://gitlab.com/gitlab-org/gitlab \
54
55
56# For Jira
57git bug bridge configure \
58    --target=jira \
59    --login==$(LOGIN) \
60    --project==$(PROJECT) \
61
62
63# For Launchpad-Preview
64git bug bridge configure \
65    --target=launchpad-preview \
66    --project==$(PROJECT) \
67    --url=https://bugs.launchpad.net/ubuntu/ \
68`