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=$(URL) \
46
47
48# For Gitlab
49git bug bridge configure \
50 --target=gitlab \
51 --base-url=$(BASE_URL) \
52 --login=$(LOGIN) \
53 --token=$(TOKEN) \
54 --url=$(URL) \
55
56
57# For Jira
58git bug bridge configure \
59 --target=jira \
60 --base-url=$(BASE_URL) \
61 --login=$(LOGIN) \
62 --project=$(PROJECT) \
63
64
65# For Launchpad-Preview
66git bug bridge configure \
67 --target=launchpad-preview \
68 --project=$(PROJECT) \
69 --url=$(URL) \
70`