/svanager

A CLI tool for managing multiple web servers

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

svanager

A CLI tool for managing web servers

oclif Version Downloads/week License

Usage

$ 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
...

Commands

svanager hello [FILE]

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

svanager help [COMMAND]

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

svanager key:add [NAME]

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

svanager key:list

Lists all your added SSH keys

USAGE
  $ svanager key:list

OPTIONS
  -h, --help  show CLI help

See code: src/commands/key/list.ts

svanager machine:add [NAME]

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

svanager machine:list [FILE]

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

svanager test

description of this example command

USAGE
  $ svanager test

See code: src/commands/test.ts