Logarithm::CLI
Inherits Admiral::Command::Run < Admiral::Command < Reference < Object
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Constants
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Class methods
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Instance methods
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.
Main command-line interface for Logarithm.
This class defines the root command and subcommands for the Logarithm anomaly detection agent. It handles global configuration and delegates to specific subcommands for training and monitoring operations.
Generated Structs
Admiral automatically generates the following struct from the flag definitions:
CLI::Flags
Contains global command-line flags that apply to all Logarithm subcommands.
Global Flags:
config: Path to YAML configuration file that overrides defaults- Applied to all subcommands (train, monitor)
- Merged with subcommand-specific configuration
- Must be readable YAML file if specified
Usage in Code
# Access global config flag
config_file = flags.config
if !config_file.empty?
Logarithm::Log.info("Using custom config: #{config_file)" }
end
Inheritance
Global flags are inherited by all subcommands and can be overridden by subcommand-specific flags with the same name.