#!/bin/bash

option=$1
interface=$2

if [ $# -eq 1 ]; then
  option="-c"
  interface=$1
else
  option=$1
  interface=$2
fi

case $option in
  -c)
    ./current.sh $interface
    ;;
  -s)
    ./summary.sh $interface
    ;;
  -t)
    ./total.sh $interface
    ;;
  *)
    echo "Invalid option: $option. Defaulting to -c."
    ;;
esac
