Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 966 Bytes

cli-reference.md

File metadata and controls

25 lines (15 loc) · 966 Bytes

BAS Assets Tracking Service - CLI Reference

global commands

  • --version: displays the installed application version
  • --help: displays contextual information (available commands, subcommands or command parameters)

config commands

  • ats-ctl config check: validates configurable configuration options
  • ats-ctl config show: displays the current application configuration with sensitive values redacted

data commands

  • ats-ctl data fetch - fetch active assets and their last known positions

db commands

  • ats-ctl db check: verifies application database can be accessed
  • ats-ctl db migrate: runs all Database Migrations to configure database
  • ats-ctl db rollback: reverts all Database Migrations to reset database

Adding CLI commands

See the Developing documentation.