FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
deploydiff/cli.js at main · Coding-Dev-Tools/deploydiff · GitHub
Coding-Dev-Tools
/
deploydiff
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
2
Code
Issues
0
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
deploydiff
/
cli.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (8 loc) · 377 Bytes
Breadcrumbs
deploydiff
/
cli.js
Copy path
File metadata and controls
9 lines (8 loc) · 377 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
#!/usr/bin/env node
const
{
spawnSync
}
=
require
(
'child_process'
)
;
const
path
=
require
(
'path'
)
;
// Find python3 or python
const
python
=
process
.
platform
===
'win32'
?
'python'
:
'python3'
;
const
args
=
[
'-m'
,
'deploydiff.cli'
,
...
process
.
argv
.
slice
(
2
)
]
;
const
result
=
spawnSync
(
python
,
args
,
{
stdio
:
'inherit'
}
)
;
process
.
exit
(
result
.
status
!=
null
?
result
.
status
:
1
)
;
Back
|
FazBrowse Home
|
New Git URL