class ShellyplugExporter::CLI

Overview

CLI class handles command line interface interactions for the exporter.

ShellyplugExporter::CLI.new

Defined in:

shellyplug_exporter/cli.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Initialize the CLI.


Instance Method Detail

def config : Config #

Configuration settings for the exporter.


def config=(config : Config) #

Configuration settings for the exporter.


def run_server=(run_server : Bool) #

Whether to run the exporter server.


def run_server? : Bool #

Whether to run the exporter server.