abstract class
AzuCLI::Commands::Jobs::Base
- AzuCLI::Commands::Jobs::Base
- AzuCLI::Commands::Base
- Reference
- Object
Overview
Base class for job commands
Direct Known Subclasses
- AzuCLI::Commands::Jobs::Clear
- AzuCLI::Commands::Jobs::Retry
- AzuCLI::Commands::Jobs::Status
- AzuCLI::Commands::Jobs::UI
- AzuCLI::Commands::Jobs::Worker
Defined in:
azu_cli/commands/jobs.crConstructors
Instance Method Summary
- #queue : String
- #queue=(queue : String)
- #redis_url : String
- #redis_url=(redis_url : String)
- #verbose : Bool
- #verbose=(verbose : Bool)
Instance methods inherited from class AzuCLI::Commands::Base
all_args : Array(String)
all_args,
all_args=(all_args : Array(String))
all_args=,
args : Array(String)
args,
args=(args : Array(String))
args=,
description : String
description,
description=(description : String)
description=,
error(message : String, category : String) : Resulterror(message : String) : Result error, execute : Result execute, fatal_error(message : String, category : String = Config::ErrorCategory::UNKNOWN) : NoReturn fatal_error, filesystem_error(message : String, category : String = Config::ErrorCategory::IO_ERROR) : Result filesystem_error, get_arg(index : Int32) : String | Nil get_arg, get_args : Array(String) get_args, get_option(key : String, default : String = "") : String get_option, handle_error(message : String, category : String = Config::ErrorCategory::UNKNOWN, severity : Int32 = Config::ErrorSeverity::ERROR, exit_code : Int32 = Config::EXIT_FAILURE, should_exit : Bool = false) : Result handle_error, has_option?(key : String) : Bool has_option?, name : String name, name=(name : String) name=, options : Hash(String, String) options, options=(options : Hash(String, String)) options=, parse_args(args : Array(String)) parse_args, show_examples show_examples, show_help show_help, success(message : String = "") : Result success, validate_required_args(required_count : Int32) : Bool validate_required_args, validate_required_options(required_options : Array(String)) : Bool validate_required_options, validation_error(message : String) : Result validation_error, warning(message : String, category : String = Config::ErrorCategory::UNKNOWN) warning, with_error_handling(category : String = Config::ErrorCategory::RUNTIME_ERROR, &) with_error_handling