class

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

HELP = {"description" => ""}

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

description

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.

Source
run(*args, **params)

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.

Source

Instance methods

__rescue_from___Admiral__Error(e)

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.

arguments

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.

Source
flags

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.

Source
help
run

The run command.

Source
sub(command, *args, **params)

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.

Source
version
Source

Nested types