RemotiveCLI - 0.44.x
remotive
Welcome to RemotiveLabs CLI - work with the RemotiveLabs platform from your terminal
For documentation - https://developer.remotivelabs.com
See remotive --manual or man remotive for the complete reference.
Usage:
$ remotive [OPTIONS] [COMMAND] [ARGS]...
Options:
--version: Print current version--manual: Show the complete reference, the same as 'man remotive'--verbose: [experimental] Enable verbose logging to stderr for troubleshooting [env var: REMOTIVE_VERBOSE]--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
studio: Start a RemotiveStudio instancesetup: Set up the RemotiveLabs authentication and tool chain on this machine, interactivelydoctor: [EXPERIMENTAL] Verify that host system is ok, required components are installed and that authentication is setup.upgrade: Upgrade remotivelabs-cli, RemotiveBus (Linux) and RemotiveStudio Desktop to the latest released versions (macOS, Linux)topology: Interact and manage RemotiveTopology resourcesbroker: Manage a single broker - local or cloudcloud: Manage resources in RemotiveCloudauth: Sign in to RemotiveCloud and manage accounts, the default organization and service accountsconnect: Integrations with other systems
remotive studio
Start a RemotiveStudio instance
Usage:
$ remotive studio [OPTIONS] [WORKSPACE_PATH]
Arguments:
[WORKSPACE_PATH]: Workspace path
Options:
--topology-image TEXT: Optional docker image for RemotiveTopology CLI [env var: REMOTIVE_TOPOLOGY_IMAGE]--container-engine [docker|podman]: Specify container engine (default: the one set with 'remotive topology config set container-engine', otherwise docker) [env var: REMOTIVE_CONTAINER_ENGINE]--container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]--force / --no-force: Override existing RemotiveTopology workspace if it exists [default: no-force]--broker-url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]--advertised-broker-url TEXT: Broker URL advertised to Studio clients (defaults to --broker-url). Use when clients reach the broker through a tunnel or forwarded port--host TEXT: Host to run RemotiveStudio [default: 127.0.0.1]--port TEXT: Port to run RemotiveStudio, or "auto" to use a free port assigned by the OS [default: 57123]--browser / --no-browser: Open RemotiveStudio in a web browser (ignored when --desktop is set) [default: browser]--desktop / --no-desktop: [Beta] Launch the RemotiveStudio desktop app instead of serving in a browser [default: no-desktop]--desktop-version TEXT: [Beta] Desktop version (e.g. 1.2.3) to install and launch (default: latest). Requires --desktop--log-level TEXT: Log level for RemotiveStudio server [default: warning]--help: Show this message and exit.
remotive setup
Set up the RemotiveLabs authentication and tool chain on this machine, interactively
Goes through it one step at a time:
- RemotiveCloud sign-in
- Default organization
- RemotiveTopology subscription: starts a 30-day trial when there is none
- CLI version (reports a newer release; upgrade with 'remotive upgrade')
- Container engine: docker when it works, otherwise podman - saved as the default for every command
- RemotiveBus (Linux): checks it is installed and running
- RemotiveTopology: downloads it (or checks for a newer one) and shows its version
- RemotiveStudio Desktop [Beta]: checks it is installed (optional)
Each step checks what is in place and asks before it signs you in or changes your settings, so it is safe to re-run. It asks whether to keep the signed-in account, its default organization and the container engine; --only-missing keeps them. Any step can be skipped; setup says what that means, e.g. that no RemotiveTopology command runs without docker or podman. Exits with 1 only when a step ran into an error.
Usage:
$ remotive setup [OPTIONS]
Options:
--container-engine [docker|podman]: Container engine to set up RemotiveTopology with (default: the saved one, else docker when it works, else podman) [env var: REMOTIVE_CONTAINER_ENGINE]--container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]--no-browser: Sign in without opening a browser: copy a link to a browser elsewhere and paste the code back--only-missing: Only change settings that are not yet set--help: Show this message and exit.
remotive doctor
[EXPERIMENTAL] Verify that host system is ok, required components are installed and that authentication is setup.
Usage:
$ remotive doctor [OPTIONS]
Options:
--help: Show this message and exit.
remotive upgrade
Upgrade remotivelabs-cli, RemotiveBus (Linux) and RemotiveStudio Desktop to the latest released versions (macOS, Linux)
Compares the installed versions with the latest releases on files.remotivelabs.com and, when anything is outdated, downloads, signature-verifies and runs the install scripts. The CLI's install script upgrades the CLI and, on Linux, an installed RemotiveBus (add --install-remotivebus to install it); the desktop app's install script upgrades an installed RemotiveStudio Desktop (add --install-studio-desktop to install it). --install-all installs whatever of the two is missing and available for this host:
https://files.remotivelabs.com/install.sh https://files.remotivelabs.com/remotive-studio-desktop/install.sh
The scripts are bash, so on Windows the command only reports (--check works everywhere).
Usage:
$ remotive upgrade [OPTIONS]
Options:
--check: Only report available updates; exit code 1 when any exist, 0 when up to date, 2 when the check failed--dry-run: Show what the installers would do without changing anything (no prompt)--install-remotivebus: Also install RemotiveBus when it is not installed (Linux; an installed one is always upgraded)--install-studio-desktop: Also install RemotiveStudio Desktop when it is not installed (an installed one is always upgraded)--install-all: Also install every component that is not installed and has a build for this host--help: Show this message and exit.
remotive topology
Interact and manage RemotiveTopology resources
Read more at https://developer.remotivelabs.com/docs/remotive-topology
Usage:
$ remotive topology [OPTIONS] [COMMAND] [ARGS]...
Options:
--topology-image TEXT: Optional docker image for RemotiveTopology CLI [env var: REMOTIVE_TOPOLOGY_IMAGE]--topology-workspace TEXT: Optional override for workspace path [env var: REMOTIVE_TOPOLOGY_WORKSPACE]--container-engine [docker|podman]: Specify container engine (default: the one set with 'remotive topology config set container-engine', otherwise docker) [env var: REMOTIVE_CONTAINER_ENGINE]--container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]--help: Show this message and exit.
Commands:
analyze: [EXPERIMENTAL] Static analysis of RemotiveTopology platforms and instancesbuild: Build a topology environment from instance descriptionsclean: Remove the build and mappings output for the current workspaceconfig: Manage RemotiveTopology settings saved in the CLI configconvert: [EXPERIMENTAL] Convert signal database to different format.gateway-mapping: [EXPERIMENTAL] List gateway mapping for ECUgenerate: [DEPRECATED] Use 'build' instead.prune: Remove cache and build output (workspace-scoped if inside one; --all for every workspace)recording-session: Work with recording sessionsshow: Show information from database filesplit: [DEPRECATED] Extract individual signal databases for each channel in a RemotiveTopology platform.start-trial: Allows you to start a 30 day trial subscription for running RemotiveTopology.subscription: Manage RemotiveTopology subscriptions, you can start a trial subscription or check the status of your subscription.validate: [EXPERIMENTAL] Validate fileversion: Show RemotiveTopology CLI version.workspace: Manage RemotiveTopology workspaces
remotive topology analyze
[EXPERIMENTAL] Static analysis of RemotiveTopology platforms and instances
Usage:
$ remotive topology analyze [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
busload: [EXPERIMENTAL] Calculate the base (cyclic) CAN bus load per channel.
remotive topology analyze busload
[EXPERIMENTAL] Calculate the base (cyclic) CAN bus load per channel.
Every CAN frame with a cycle time is assumed to be sent continuously at that rate. The on-wire size of each frame is computed from the CAN 2.0 / CAN FD frame format, with and without worst-case bit stuffing, so the true load lies between the two figures.
Bit rates are taken from the platform file (baudrate / baudrate_fd per channel); CAN FD frames switch to the baudrate_fd for their data phase when one is given. Channels without a bit rate still get bytes per second, but no bus load percentage.
Usage:
$ remotive topology analyze busload [OPTIONS]
Options:
-f, --file TEXT: RemotiveTopology platform or instance file [required]--json: Output results in JSON format--help: Show this message and exit.
remotive topology build
Build a topology environment from instance descriptions
Usage:
$ remotive topology build [OPTIONS] [TOPOLOGY_OUTPUT_PATH]
Arguments:
[TOPOLOGY_OUTPUT_PATH]: Path to where generated files should be written. Optional in a workspace (defaults to <workspace>/.remotive/build, must be inside the workspace); required with --no-workspace.
Options:
--with-metrics: Enable Prometheus + Grafana metrics in the generated topology--no-workspace: Skip the REMOTIVE_TOPOLOGY_WORKSPACE check (disables caching for this run)-n, --name TEXT: Name of the generated topology-f, --file TEXT: RemotiveTopology .instance.yaml file(s), applied in the order they are provided [required]--help: Show this message and exit.
remotive topology clean
Remove the build and mappings output for the current workspace
Usage:
$ remotive topology clean [OPTIONS]
Options:
--help: Show this message and exit.
remotive topology config
Manage RemotiveTopology settings saved in the CLI config
Usage:
$ remotive topology config [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
get: Print the value in effect for a settingset: Save a setting, e.g.unset: Remove a saved setting, so its default is usedlist: List the settings, their values and where each comes from
remotive topology config get
Print the value in effect for a setting
Usage:
$ remotive topology config get [OPTIONS] KEY
Arguments:
KEY: The setting, e.g. container-engine [required]
Options:
--help: Show this message and exit.
remotive topology config set
Save a setting, e.g. 'remotive topology config set container-engine podman'
Usage:
$ remotive topology config set [OPTIONS] KEY VALUE
Arguments:
KEY: The setting, e.g. container-engine [required]VALUE: The value, e.g. podman [required]
Options:
--help: Show this message and exit.
remotive topology config unset
Remove a saved setting, so its default is used
Usage:
$ remotive topology config unset [OPTIONS] KEY
Arguments:
KEY: The setting, e.g. container-engine [required]
Options:
--help: Show this message and exit.
remotive topology config list
List the settings, their values and where each comes from
Usage:
$ remotive topology config list [OPTIONS]
Options:
--help: Show this message and exit.
remotive topology convert
[EXPERIMENTAL] Convert signal database to different format. Currently only CAN and LIN frames is supported.
Usage:
$ remotive topology convert [OPTIONS]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)-f, --file TEXT: RemotiveTopology platform file [required]-o, --output TEXT: Optional path to a file where generated signal database should be written. If not provided, the result will be printed to stdout.--format TEXT: Signal database format to convert to. Currently only 'remotive' is supported.-c, --channel TEXT: Optional channel(s) to convert. If not provided, all supported channels will be converted.--help: Show this message and exit.
remotive topology gateway-mapping
[EXPERIMENTAL] List gateway mapping for ECU
Usage:
$ remotive topology gateway-mapping [OPTIONS] [OUT_PATH]
Arguments:
[OUT_PATH]: Path to file where extracted gateway mapping should be written. Optional in a workspace (defaults to <workspace>/.remotive/mappings/<gateway-ecu>.mapping.yaml for legacy and <gateway-ecu>.gateway-mapping.yaml for gateway-mapping, must be inside the workspace); required with --no-workspace.
Options:
-o, --only-fully-resolved: Only show fully resolved mapping--no-workspace: Skip the REMOTIVE_TOPOLOGY_WORKSPACE check (paths may point anywhere)-g, --gateway-ecu TEXT: Gateway ECU name [required]-p, --platform TEXT: Topology platform [required]--format TEXT: Mapping format to emit: 'legacy' (default) or 'gateway-mapping'--help: Show this message and exit.
remotive topology generate
[DEPRECATED] Use 'build' instead. Build a topology environment from instance descriptions.
Usage:
$ remotive topology generate [OPTIONS] TOPOLOGY_OUTPUT_PATH
Arguments:
TOPOLOGY_OUTPUT_PATH: Path to where generated files should be written [required]
Options:
--with-metrics: Enable Prometheus + Grafana metrics in the generated topology-n, --name TEXT: Name of the generated topology-f, --file TEXT: RemotiveTopology .instance.yaml file(s), applied in the order they are provided [required]--help: Show this message and exit.
remotive topology prune
Remove cache and build output (workspace-scoped if inside one; --all for every workspace)
Usage:
$ remotive topology prune [OPTIONS]
Options:
--all: Remove caches for every workspace, not just the current one--help: Show this message and exit.
remotive topology recording-session
Work with recording sessions
Usage:
$ remotive topology recording-session [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
create: Create a new recording session from recording filesinstantiate: Create a topology instance ready to play a recording sessionrecalculate: Recalculate the recording session start and end time based on the files and their offsets
remotive topology recording-session create
Create a new recording session from recording files
Usage:
$ remotive topology recording-session create [OPTIONS] [OUT_PATH]
Arguments:
[OUT_PATH]: Write content to provided file path
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)-f, --file TEXT: Recording file(s), applied in the order they are provided, e.g. candump.log, .csv [required]--help: Show this message and exit.
remotive topology recording-session instantiate
Create a topology instance ready to play a recording session
Usage:
$ remotive topology recording-session instantiate [OPTIONS] RECORDING_SESSION [OUT_PATH]
Arguments:
RECORDING_SESSION: Path to the recording session file [required][OUT_PATH]: Write content to provided file path
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--help: Show this message and exit.
remotive topology recording-session recalculate
Recalculate the recording session start and end time based on the files and their offsets
Usage:
$ remotive topology recording-session recalculate [OPTIONS] RECORDING_SESSION [OUT_PATH]
Arguments:
RECORDING_SESSION: Path to the recording session file [required][OUT_PATH]: Write content to provided file path
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--help: Show this message and exit.
remotive topology show
Show information from database file
Usage:
$ remotive topology show [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
signals: [EXPERIMENTAL] Show signals in the provided database fileconstants: [EXPERIMENTAL] Extract constants from database fileinstance: Shows the resolved instanceplatform: Shows the platform from database, platform or instance fileethernet: [EXPERIMENTAL] Shows Ethernet configuration from database fileservices: [EXPERIMENTAL] Show SOME/IP services from database file
remotive topology show signals
[EXPERIMENTAL] Show signals in the provided database file
Usage:
$ remotive topology show signals [OPTIONS] PATH [OUT_PATH]
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml', '.dbc', '.xml', '.ldf', '.signaldb.yaml' [required][OUT_PATH]: Write content to provided file path
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--jsonl: Output results in JSONL format--bf: Output results in broker format--flexray-channel TEXT: FlexRay physical channel name relevant for Fibex databases--can-channel TEXT: CAN physical channel name relevant for arxml databases--lin-channel TEXT: LIN physical channel name relevant for arxml databases--help: Show this message and exit.
remotive topology show constants
[EXPERIMENTAL] Extract constants from database file
Usage:
$ remotive topology show constants [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml' [required]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--help: Show this message and exit.
remotive topology show instance
Shows the resolved instance
Usage:
$ remotive topology show instance [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.instance.yaml' [required]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--check: Check topology--full-platform: Show full platform, not just the instance-specific parts--verbose: (Deprecated) Has no effect-o, --out-path TEXT: Write content to provided file path--help: Show this message and exit.
remotive topology show platform
Shows the platform from database, platform or instance file
Usage:
$ remotive topology show platform [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml', '.xml', '.instance.yaml', '.platform.yaml', '.dbc', '.ldf', '.signaldb.yaml' [required]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--verbose: (Deprecated) Has no effect-o, --out-path TEXT: Write content to provided file path--help: Show this message and exit.
remotive topology show ethernet
[EXPERIMENTAL] Shows Ethernet configuration from database file
Usage:
$ remotive topology show ethernet [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml' [required]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)--help: Show this message and exit.
remotive topology show services
[EXPERIMENTAL] Show SOME/IP services from database file
Usage:
$ remotive topology show services [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml' [required]
Options:
--json: Output results in JSON format--yaml: Output results in YAML format (default)-s, --services TEXT: List of SOME/IP services to process--help: Show this message and exit.
remotive topology split
[DEPRECATED] Extract individual signal databases for each channel in a RemotiveTopology platform.
Usage:
$ remotive topology split [OPTIONS] TOPOLOGY_OUTPUT_PATH
Arguments:
TOPOLOGY_OUTPUT_PATH: Path to a folder where generated signal databases should be written [required]
Options:
-f, --file TEXT: RemotiveTopology platform file(s), applied in the order they are provided [required]--help: Show this message and exit.
remotive topology start-trial
Allows you to start a 30 day trial subscription for running RemotiveTopology.
You can read more at https://developer.remotivelabs.com/docs/remotive-topology.
Usage:
$ remotive topology start-trial [OPTIONS]
Options:
--organization TEXT: Organization to start trial for [env var: REMOTIVE_CLOUD_ORGANIZATION]--help: Show this message and exit.
remotive topology subscription
Manage RemotiveTopology subscriptions, you can start a trial subscription or check the status of your subscription.
To extend a trial subscription, or purchase a subscription, please contact support@remotivelabs.com.
Usage:
$ remotive topology subscription [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
start-trial: Allows you to start a 30 day trial subscription for running RemotiveTopology.status: Show the current RemotiveTopology subscription status for an organization.
remotive topology subscription start-trial
Allows you to start a 30 day trial subscription for running RemotiveTopology.
You can read more at https://developer.remotivelabs.com/docs/remotive-topology.
Usage:
$ remotive topology subscription start-trial [OPTIONS]
Options:
--organization TEXT: Organization to start trial for [env var: REMOTIVE_CLOUD_ORGANIZATION]--help: Show this message and exit.
remotive topology subscription status
Show the current RemotiveTopology subscription status for an organization.
Usage:
$ remotive topology subscription status [OPTIONS]
Options:
--organization TEXT: Organization to check subscription status for [env var: REMOTIVE_CLOUD_ORGANIZATION]--help: Show this message and exit.
remotive topology validate
[EXPERIMENTAL] Validate file
Usage:
$ remotive topology validate [OPTIONS] PATH
Arguments:
PATH: Path to the Database file, supported extensions: '.arxml' [required]
Options:
--help: Show this message and exit.
remotive topology version
Show RemotiveTopology CLI version.
Usage:
$ remotive topology version [OPTIONS]
Options:
--help: Show this message and exit.
remotive topology workspace
Manage RemotiveTopology workspaces
Usage:
$ remotive topology workspace [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
init: Initialize a RemotiveTopology workspace in the current directorycurrent: Show the current RemotiveTopology workspace
remotive topology workspace init
Initialize a RemotiveTopology workspace in the current directory
Usage:
$ remotive topology workspace init [OPTIONS]
Options:
--force / --no-force: Override existing RemotiveTopology workspace if it exists [default: no-force]--help: Show this message and exit.
remotive topology workspace current
Show the current RemotiveTopology workspace
Usage:
$ remotive topology workspace current [OPTIONS]
Options:
--help: Show this message and exit.
remotive broker
Manage a single broker - local or cloud
Usage:
$ remotive broker [OPTIONS] [COMMAND] [ARGS]...
Options:
--url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]--api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]--ui: [Experimental] Launch the interactive TUI explorer--help: Show this message and exit.
Commands:
playback: Manage playback of recording sessionsrecord: Record data on busesfiles: Upload/Download configurations and recordingssignals: Find and subscribe to signalsrestbus: Control periodic frame transmission on a broker.export: Export to external formatsscripting: LUA scripting utilitieslicense: View and request license to broker
remotive broker playback
Manage playback of recording sessions
All offsets are in microseconds (μs)
Usage:
$ remotive broker playback [OPTIONS] [COMMAND] [ARGS]...
Options:
--help: Show this message and exit.
Commands:
list-files: List files on broker.play: Starts playing the recording at current offset or from specified offsetrepeat: Repeat RecordingSession in specific interval or complete recording To remove existing repeat config, use --clear flag.pause: Pause the recording at current offset or specified offsetseek: Seek to specified offsetopen: Open a recording session.close: Close a recording session.status: Get the status of all opened Recording sessions
remotive broker playback list-files
List files on broker.
Usage:
$ remotive broker playback list-files [OPTIONS] [PATH]
Arguments:
[PATH]: Optional subdirectory to list files in, defaults to / [default: /]
Options:
--recursive / --no-recursive: List subdirectories recursively [default: no-recursive]--url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]--api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]--help: Show this message and exit.
remotive broker playback play
Starts playing the recording at current offset or from specified offset
Offsets can be specified in minutes (1:15min), seconds(10s), millis(10000ms) or micros(10000000us), default without suffix is micros. Sample offsets --offset 1.15min, 10s, 10000ms, 10000000us, 10000000,
Usage:
$ remotive broker playback play [OPTIONS] PATH
Arguments:
PATH: Path to the recording session [env var: REMOTIVE_RECORDING_SESSION_PATH; required]
Options:
--offset TEXT: Offset to play from--url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]--api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]--help: Show this message and exit.
remotive broker playback repeat
Repeat RecordingSession in specific interval or complete recording To remove existing repeat config, use --clear flag.
Offsets can be specified in minutes (1:15min), seconds(10s), millis(10000ms) or micros(10000000us), default without suffix is micros. Sample offsets --start-offset/--end-offset 1.15min, 10s, 10000ms, 10000000us, 10000000,
Usage:
$ remotive broker playback repeat [OPTIONS] PATH
Arguments:
PATH: Path to the recording session [env var: REMOTIVE_RECORDING_SESSION_PATH; required]
Options:
--start-offset TEXT: Repeat start offset, defaults to start [default: 0]--end-offset TEXT: Repeat end offset, defaults to end--clear / --no-clear: Clear repeat [default: no-clear]--url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]--api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]--help: Show this message and exit.