UNPKG
@becomes/cms-cloud-client
Version:
latest (2.0.0)
next (1.0.0-alpha.8)
2.0.0
1.3.4
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha1
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
SDK for accessing BCMS Cloud API
@becomes/cms-cloud-client
/
b-types
/
util
/
ssh.d.ts
9 lines
(8 loc)
•
279 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type
{
ChildProcessOnChunk
}
from
'@banez/child_process/types'
;
export
declare
class
Ssh
{
user
:
string
;
ip
:
string
;
port
:
string
;
constructor
(
user
:
string
,
ip
:
string
,
port
:
string
);
run
(
cmd
:
string
[],
onChunk
?:
ChildProcessOnChunk
):
Promise
<
void
>; }