0.0.13 • Published 1 year ago

sonia-auv-cli v0.0.13

Weekly downloads
3
License
GPLv3
Repository
github
Last release
1 year ago

sonia-cli

SONIA AUV CLI Tools

oclif Version Downloads/week License

Usage

$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install nodejs
$ sudo npm install -g sonia-auv-cli
$ sonia COMMAND
running command...
$ sonia (-v|--version|version)
sonia-auv-cli/0.0.8 darwin-x64 node-v12.18.4
$ sonia --help [COMMAND]
USAGE
  $ sonia COMMAND
...

Commands

sonia authenticate

Add authentication credentials to access GitHub and GitHub Packages

USAGE
  $ sonia authenticate

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ sonia authenticate

See code: src/commands/authenticate.ts

sonia autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ sonia autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ sonia autocomplete
  $ sonia autocomplete bash
  $ sonia autocomplete zsh
  $ sonia autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

sonia diagnose [PLATFORM] [DEVICE]

Diagnose the system, specific platform and/or device(s)

USAGE
  $ sonia diagnose [PLATFORM] [DEVICE]

ARGUMENTS
  PLATFORM  (dockbox|auv7|auv8) Platform to target. None = all
  DEVICE    (router|switch|computer|dvl|sonar) Device to target (must be contain in specified platform). None = all

OPTIONS
  -h, --help  show CLI help

EXAMPLES
  $ sonia diagnose
  $ sonia diagnose dockbox
  $ sonia diagnose auv7
  $ sonia diagnose auv7 dvl
  $ sonia diagnose auv8 computer

See code: src/commands/diagnose.ts

sonia execute PLATFORM DEVICE CMD

Execute a command to a remote device

USAGE
  $ sonia execute PLATFORM DEVICE CMD

ARGUMENTS
  PLATFORM  (auv7|auv8) Platform to target
  DEVICE    (computer) Device to target
  CMD       (ssh|shutdown|reboot) Command to execute (must be contain in specified platform-device)

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ sonia exec

EXAMPLES
  $ sonia execute auv7 computer ssh
  $ sonia execute auv7 computer shutdown
  $ sonia execute auv8 computer reboot

See code: src/commands/execute.ts

sonia help [COMMAND]

display help for sonia

USAGE
  $ sonia help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help