bridge_configure_example.go

 1// Code generated by go generate; 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# For Github
37git bug bridge configure \
38    --URL= \
39    --Login= \
40    --CredPrefix= \
41    --TokenRaw= \
42    --Owner= \
43    --Project= \
44
45
46# For Gitlab
47git bug bridge configure \
48    --BaseURL= \
49    --Login= \
50    --CredPrefix= \
51    --TokenRaw= \
52    --URL= \
53
54
55# For Jira
56git bug bridge configure \
57    --Project= \
58    --BaseURL= \
59    --Login= \
60    --CredPrefix= \
61
62
63# For Launchpad-Preview
64git bug bridge configure \
65    --URL= \
66    --Project= \
67`