CLI Examples#

Below are some examples of how to use the pytermite CLI for various operations.

pytermite#

# Start the interactive REPL
pytermite

# Run a single command without entering the REPL
pytermite scan

# Run a command and drop into the REPL
pytermite -i scan

scan#

# Scan for connected GoPros with a timeout of 5 seconds
pytermite scan --timeout 5

connect#

# Connect to devices found earlier by `scan` or scan automatically
pytermite connect --auto

# Connect to two known serials
pytermite connect --serials S123,S456

# Load serials from a JSON file
pytermite connect --serials-file ./config/serials.json

disconnect#

# Disconnect from all connected cameras
pytermite disconnect

record#

# Start recording on all connected cameras
pytermite record start

# Stop recording on all connected cameras
pytermite record stop