"""
merakitools - dashboard.py
Billy Zoellers

CLI tools for managing Meraki networks based on Typer
"""
from merakitools.console import console
import meraki
from meraki.exceptions import APIError

try:
  dashboard = meraki.DashboardAPI(
    output_log=False, print_console=False, suppress_logging=True
  )
except APIError:
  console.print("[bold red]Unable to connect to the Meraki Dashboard.")
  console.print_exception()