struct

Logarithm::CLI::Model::Arguments

Inherits Iterable < Enumerable < Struct < Value < Object

Model management subcommand for inspecting and managing trained models.

This command provides utilities for examining trained model information, listing available models, and deleting models when needed. It helps with model lifecycle management and troubleshooting.

Actions

  • info: Display detailed information about trained models
  • list: List all available model files in the data directory
  • delete: Remove trained models (with confirmation)

Usage

logarithm model info
logarithm model list
logarithm model delete

Constants

SPECS = {"action" => {type: "String", description: {"action", "Action to perform: info, list, delete"}, default: "\"info\"", is_required: false}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)

Constructors

new(command : Admiral::Command)

Instance methods

[](*args, **options)
[](*args, **options, &)
action
Source
each(*args, **options)
each(*args, **options, &)
exists?(name : Symbol)
get(name : Symbol)
get?(name : Symbol)
inspect(io)
Source
rest
validate!(command : Admiral::Command)
value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool)
Source