CLI Overview
VIIPER provides a command-line interface for running the USBIP server and proxy.
Commands
server- Start the VIIPER USBIP serverproxy- Start the VIIPER USBIP proxycodegen- Generate client SDKs from source code annotations
Global Options
Logging
VIIPER supports flexible logging configuration via global flags or environment variables.
--log.level
Set the logging level.
Values: trace, debug, info, warn, error
Default: info
Environment Variable: VIIPER_LOG_LEVEL
Example:
--log.file
Log to a file in addition to console output.
Default: (none - logs only to console)
Environment Variable: VIIPER_LOG_FILE
Example:
--log.raw-file
Log raw USB packet data to a file for debugging and reverse engineering.
Default: (none)
Environment Variable: VIIPER_LOG_RAW_FILE
Example:
Automatic Raw Logging
When --log.level=trace is set without --log.raw-file, raw packets are logged to stdout.
Getting Help
Display help for any command: