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    --TokenRaw=PLACEHOLDERTEXT \
41    --Owner=PLACEHOLDERTEXT \
42    --Project=PLACEHOLDERTEXT \
43    --URL=PLACEHOLDERTEXT \
44    --Login=PLACEHOLDERTEXT \
45    --CredPrefix=PLACEHOLDERTEXT \
46
47
48# For Gitlab
49git bug bridge configure \
50    --Login=PLACEHOLDERTEXT \
51    --CredPrefix=PLACEHOLDERTEXT \
52    --TokenRaw=PLACEHOLDERTEXT \
53    --URL=PLACEHOLDERTEXT \
54    --BaseURL=PLACEHOLDERTEXT \
55
56
57# For Jira
58git bug bridge configure \
59    --BaseURL=PLACEHOLDERTEXT \
60    --Login=PLACEHOLDERTEXT \
61    --CredPrefix=PLACEHOLDERTEXT \
62    --Project=PLACEHOLDERTEXT \
63
64
65# For Launchpad-Preview
66git bug bridge configure \
67    --URL=PLACEHOLDERTEXT \
68    --Project=PLACEHOLDERTEXT \
69`