npm.io
0.4.2 • Published 9 years agoCLI

scaleway-commander

Licence
ISC
Version
0.4.2
Deps
12
Vulns
1
Weekly
0

scaleway-commander

Presentation commands

Install

$ npm install scaleway-commander -g

Configure

Put access token into ~/.scaleway (https://cloud.scaleway.com/#/credentials)

Use

$ scw -h

Commands

# List host
$ scw ls

# Constantly refresh server list and clear screen
$ scw ls --watch

# Interactively stop host
$ scw stop

# Interactively start host
$ scw start

# Interactively terminate host
$ scw start

# Interactively ssh to host
$ scw ssh

# SSH to all machine and execute command
$ scw sshall <cmd>