A CLI tool for managing web servers
$ npm install -g svanager
$ svanager COMMAND
running command...
$ svanager (-v|--version|version)
svanager/1.0.0 linux-x64 node-v12.18.2
$ svanager --help [COMMAND]
USAGE
$ svanager COMMAND
...
svanager hello [FILE]
svanager help [COMMAND]
svanager key:add [NAME]
svanager key:list
svanager machine:add [NAME]
svanager machine:list [FILE]
svanager test
describe the command here
USAGE
$ svanager hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ svanager hello
hello world from ./src/hello.ts!
See code: src/commands/hello.ts
display help for svanager
USAGE
$ svanager help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Adds an SSH key
USAGE
$ svanager key:add [NAME]
OPTIONS
-h, --help show CLI help
-r, --privateKeyPath=privateKeyPath path of the private key
-u, --publicKeyPath=publicKeyPath path of the public key
EXAMPLE
$ svanager key:add my_key -r /home/user/.ssh/id_rsa -u /home/user/.ssh/id_rsa.pub
See code: src/commands/key/add.ts
Lists all your added SSH keys
USAGE
$ svanager key:list
OPTIONS
-h, --help show CLI help
See code: src/commands/key/list.ts
Adds a new machine
USAGE
$ svanager machine:add [NAME]
OPTIONS
-h, --help show CLI help
-k, --key=key name of the SSH key used to connect
-p, --port=port [default: 22] port of the SSH service
-t, --hostname=hostname hostname of the machine(IP address or domain)
-u, --username=username username used to connect by SSH
See code: src/commands/machine/add.ts
describe the command here
USAGE
$ svanager machine:list [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
See code: src/commands/machine/list.ts
description of this example command
USAGE
$ svanager test
See code: src/commands/test.ts