sonia-cli
SONIA AUV CLI Tools
Usage
$ npm install -g sonia-auv-cli
$ sonia COMMAND
running command...
$ sonia (-v|--version|version)
sonia-auv-cli/0.0.13 linux-x64 node-v12.22.12
$ sonia --help [COMMAND]
USAGE
$ sonia COMMAND
...
Commands
sonia authenticate
sonia autocomplete [SHELL]
sonia clone REPOSITORY
sonia diagnose [PLATFORM] [DEVICE]
sonia execute PLATFORM DEVICE CMD
sonia hello-world
sonia help [COMMAND]
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 clone REPOSITORY
Use this command to clone a SONIA git repository. Just put the name of the repository after this command. The exact command executed is: git clone git@github.com:sonia-auv/NAME.gitYou must have the access rights.
USAGE
$ sonia clone REPOSITORY
ARGUMENTS
REPOSITORY Name of the git repository to clone
EXAMPLES
$ sonia clone sonia-auv-cli
$ sonia clone sonia-deploy
See code: src/commands/clone.ts
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 hello-world
Just hello world
USAGE
$ sonia hello-world
See code: src/commands/hello-world.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