FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-gitlab/examples/show-project.js at master · moul/node-gitlab · GitHub
This repository was archived by the owner on Oct 24, 2019. It is now read-only.
moul
/
node-gitlab
Public archive
Notifications
You must be signed in to change notification settings
Fork
137
Star
467
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
node-gitlab
/
examples
/
show-project.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
37 lines (28 loc) · 825 Bytes
Breadcrumbs
node-gitlab
/
examples
/
show-project.js
Copy path
File metadata and controls
executable file
·
37 lines (28 loc) · 825 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(
function
(
)
{
var
Gitlab
,
credentials
,
gitlab
,
projectId
;
process
.
stdout
.
write
(
'\u001B[2J\u001B[0;0f'
)
;
Gitlab
=
require
(
'..'
)
;
credentials
=
require
(
'./credentials'
)
;
gitlab
=
new
Gitlab
(
{
url
:
credentials
.
url
,
token
:
credentials
.
token
}
)
;
projectId
=
parseInt
(
process
.
argv
[
2
]
)
;
gitlab
.
projects
.
show
(
projectId
,
function
(
project
)
{
console
.
log
;
console
.
log
(
"=== Project ==="
)
;
return
console
.
log
(
project
)
;
}
)
;
gitlab
.
projects
.
members
.
list
(
projectId
,
function
(
members
)
{
console
.
log
(
""
)
;
console
.
log
(
"=== Members ==="
)
;
return
console
.
log
(
members
)
;
}
)
;
gitlab
.
projects
.
milestones
.
list
(
projectId
,
{
per_page
:
100
}
,
function
(
milestones
)
{
console
.
log
(
""
)
;
console
.
log
(
"=== Milestones ==="
)
;
return
console
.
log
(
milestones
)
;
}
)
;
}
)
.
call
(
this
)
;
Back
|
FazBrowse Home
|
New Git URL