UNPKG
savas-cli
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
A cli tool to manage releases through the terminal
github.com/yurderi/savas
yurderi/savas
savas-cli
/
commands
/
remote
/
set.js
14 lines
(11 loc)
•
319 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
Config
=
require
(
'../../components/config'
)
module
.
exports
=
(
host
) =>
{
let
config =
new
Config
()
if
(config.
isTouched
()) { config.
data
.
remote
= host config.
write
()
console
.
log
(
'remote set to "%s"'
, host) }
else
{
console
.
log
(
'savas is not yet initialized'
) } }