Module: Wrapbox
- Defined in:
- lib/wrapbox.rb,
lib/wrapbox/cli.rb,
lib/wrapbox/job.rb,
lib/wrapbox/version.rb,
lib/wrapbox/runner/ecs.rb,
lib/wrapbox/configuration.rb,
lib/wrapbox/runner/docker.rb,
lib/wrapbox/config_repository.rb
Defined Under Namespace
Modules: Job, Runner
Classes: Cli, ConfigRepository, Configuration
Constant Summary
collapse
- CLASS_NAME_ENV =
"WRAPBOX_CLASS_NAME".freeze
- METHOD_NAME_ENV =
"WRAPBOX_METHOD_NAME".freeze
- METHOD_ARGS_ENV =
"WRAPBOX_METHOD_ARGS".freeze
- VERSION =
"0.3.0"
Class Method Summary
collapse
Class Method Details
11
12
13
|
# File 'lib/wrapbox.rb', line 11
def configure
yield configs
end
|
.run(*args, config_name: nil, **options) ⇒ Object
15
16
17
18
|
# File 'lib/wrapbox.rb', line 15
def run(*args, config_name: nil, **options)
config = @configs.get(config_name)
config.run(*args, **options)
end
|
.run_cmd(*args, config_name: nil, **options) ⇒ Object
20
21
22
23
|
# File 'lib/wrapbox.rb', line 20
def run_cmd(*args, config_name: nil, **options)
config = @configs.get(config_name)
config.run_cmd(*args, **options)
end
|