Class: Foobara::Command
- Inherits:
-
Object
- Object
- Foobara::Command
- Includes:
- CommandPatternImplementation
- Defined in:
- foobara-0.1.16/projects/command/src/command.rb,
foobara-0.1.16/projects/command/src/state_machine.rb,
foobara-0.1.16/projects/command/lib/foobara/command.rb
Direct Known Subclasses
Agent::AccomplishGoal, Agent::DescribeCommand, Agent::DescribeType, Agent::GiveUp, Agent::ListCommands, Agent::NotifyUserThatCurrentGoalHasBeenAccomplished, Ai::AnswerBot::Ask, Ai::AnswerBot::GenerateNextMessage, Ai::AnswerBot::ListModels, Ai::AnthropicApi::BaseCommand, Ai::OllamaApi::BaseCommand, Ai::OpenAiApi::BaseCommand, Auth::ApproveToken, Auth::AuthenticateWithApiKey, Auth::BuildAccessToken, Auth::BuildSecret, Auth::CreateApiKey, Auth::CreateRefreshToken, Auth::CreateResetPasswordToken, Auth::CreateRole, Auth::CreateToken, Auth::CreateUser, Auth::DeleteApiKey, Auth::FindUser, Auth::GetApiKeySummaries, Auth::Login, Auth::Logout, Auth::RefreshLogin, Auth::Register, Auth::ResetPassword, Auth::SetPassword, Auth::VerifyAccessToken, Auth::VerifyPassword, Auth::VerifySecret, Auth::VerifyToken, Autocrud::AutocrudCommand, Autocrud::CreateCommands, Foobara::CommandConnector::Commands::Describe, Foobara::CommandConnector::Commands::ListCommands, Foobara::CommandConnector::Commands::Ping, Foobara::CommandConnector::Commands::QueryGitCommitInfo, Foobara::CommandConnectors::Http::Commands::GetOptions, Foobara::CommandConnectors::Http::Commands::Help, Foobara::CommandConnectors::ShCliConnector::Commands::Help, Generators::Generate, Generators::WriteGeneratedFilesToDisk, LlmBackedCommand, McpConnector::Commands::Initialize, McpConnector::Commands::Noop, RemoteCommand, RemoteImports::ImportCommand, RemoteImports::ImportDomain, RemoteImports::ImportError, RemoteImports::ImportOrganization, RemoteImports::ImportType
Defined Under Namespace
Classes: StateMachine
Constant Summary
Constants included from TruncatedInspect
Instance Attribute Summary
Attributes included from Foobara::CommandPatternImplementation::Concerns::Subcommands
Attributes included from Foobara::CommandPatternImplementation::Concerns::Runtime
#exception, #outcome, #raw_result
Attributes included from Foobara::CommandPatternImplementation::Concerns::Errors
Attributes included from Foobara::CommandPatternImplementation::Concerns::Inputs
Class Method Summary collapse
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Methods included from Foobara::CommandPatternImplementation::Concerns::DomainMappers
#domain_map, #domain_map!, #run_mapped_subcommand!
Methods included from Foobara::CommandPatternImplementation::Concerns::Subcommands
Methods included from Foobara::CommandPatternImplementation::Concerns::Entities
Methods included from Foobara::CommandPatternImplementation::Concerns::Transactions
Methods included from NestedTransactionable
#auto_detect_current_transactions, #commit_transaction, #commit_transaction_if_open, #open_transaction, #opened_transactions, #relevant_entity_classes, relevant_entity_classes_for_type, #relevant_entity_classes_for_type, #rollback_transaction, #transactions, #use_transaction, with_needed_transactions_for_type
Methods included from Foobara::CommandPatternImplementation::Concerns::StateMachine
Methods included from Foobara::CommandPatternImplementation::Concerns::Callbacks
#state_machine_callback_registry
Methods included from Foobara::CommandPatternImplementation::Concerns::Runtime
#halt!, #run, #run!, #success?
Methods included from Foobara::CommandPatternImplementation::Concerns::Errors
Methods included from Foobara::CommandPatternImplementation::Concerns::Inputs
#cast_and_validate_inputs, #initialize, #method_missing, #respond_to_missing?, #respond_to_missing_for_inputs?
Methods included from Foobara::CommandPatternImplementation::Concerns::ResultType
Methods included from Foobara::CommandPatternImplementation::Concerns::InputsType
Methods included from TruncatedInspect
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Foobara::CommandPatternImplementation::Concerns::Inputs