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.


[View source]

Instance Method Detail

def config : Config #

Configuration settings for the exporter.


[View source]
def config=(config : Config) #

Configuration settings for the exporter.


[View source]
def run_server=(run_server : Bool) #

Whether to run the exporter server.


[View source]
def run_server? : Bool #

Whether to run the exporter server.


[View source]