eac_tools 0.103.0 → 0.103.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +22 -27
- data/lib/eac_tools/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/apache_host.rb +0 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/files.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/gitolite.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/install.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/nodejs.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/web.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb +1 -7
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/deploy.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +0 -6
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/entity_base.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/project.rb +0 -5
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/root.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/wiki_page.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb +0 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/read.rb +0 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/write.rb +0 -2
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/core_update.rb +0 -6
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb +0 -3
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/Dockerfile.template +1 -0
- data/sub/eac_cli/eac_cli.gemspec +23 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +55 -0
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +26 -0
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +55 -0
- data/sub/eac_cli/lib/eac_cli/config.rb +15 -0
- data/sub/eac_cli/lib/eac_cli/core_ext.rb +4 -0
- data/sub/eac_cli/lib/eac_cli/default_runner.rb +12 -0
- data/sub/eac_cli/lib/eac_cli/definition/alternative.rb +101 -0
- data/sub/eac_cli/lib/eac_cli/definition/argument_option.rb +19 -0
- data/sub/eac_cli/lib/eac_cli/definition/boolean_option.rb +25 -0
- data/sub/eac_cli/lib/eac_cli/definition/error.rb +8 -0
- data/sub/eac_cli/lib/eac_cli/definition/option/initialize_args_parser.rb +48 -0
- data/sub/eac_cli/lib/eac_cli/definition/option.rb +70 -0
- data/sub/eac_cli/lib/eac_cli/definition/option_or_positional.rb +41 -0
- data/sub/eac_cli/lib/eac_cli/definition/positional.rb +50 -0
- data/sub/eac_cli/lib/eac_cli/definition.rb +104 -0
- data/sub/eac_cli/lib/eac_cli/enum.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb +76 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb +23 -0
- data/sub/eac_cli/lib/eac_cli/old_configs.rb +31 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/any_options.rb +17 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb +19 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/long_options.rb +37 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/options.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/positionals.rb +30 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative/short_options.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/parser/alternative.rb +99 -0
- data/sub/eac_cli/lib/eac_cli/parser/collector.rb +52 -0
- data/sub/eac_cli/lib/eac_cli/parser/error.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/parser.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb +22 -0
- data/sub/eac_cli/lib/eac_cli/patches/object.rb +5 -0
- data/sub/eac_cli/lib/eac_cli/patches.rb +3 -0
- data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +41 -0
- data/sub/eac_cli/lib/eac_cli/rspec.rb +7 -0
- data/sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb +34 -0
- data/sub/eac_cli/lib/eac_cli/runner/class_runner.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/runner/context.rb +57 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/base.rb +22 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/parent.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner.rb +17 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/runner_missing_method.rb +29 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders/set.rb +41 -0
- data/sub/eac_cli/lib/eac_cli/runner/context_responders.rb +9 -0
- data/sub/eac_cli/lib/eac_cli/runner/exit.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/runner/for_context.rb +35 -0
- data/sub/eac_cli/lib/eac_cli/runner/instance_methods.rb +45 -0
- data/sub/eac_cli/lib/eac_cli/runner.rb +47 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/confirmation/input_result.rb +60 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/confirmation.rb +65 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb +61 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb +79 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb +38 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/help.rb +51 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/input.rb +32 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/asciidoc_formatter.rb +70 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/base_formatter.rb +12 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/csv_formatter.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb +16 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_item.rb +47 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/base_formatter.rb +44 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/csv_formatter.rb +24 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/tty_formatter.rb +34 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list/yaml_formatter.rb +21 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/output_list.rb +39 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb +10 -0
- data/sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb +124 -0
- data/sub/eac_cli/lib/eac_cli/runner_with.rb +7 -0
- data/sub/eac_cli/lib/eac_cli/runner_with_set.rb +54 -0
- data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +11 -0
- data/sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb +14 -0
- data/sub/eac_cli/lib/eac_cli/speaker/input_requested.rb +8 -0
- data/sub/eac_cli/lib/eac_cli/speaker/list.rb +84 -0
- data/sub/eac_cli/lib/eac_cli/speaker/options.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/speaker/request_from_list.rb +40 -0
- data/sub/eac_cli/lib/eac_cli/speaker.rb +114 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +5 -0
- data/sub/eac_cli/lib/eac_cli.rb +14 -0
- data/sub/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb +18 -0
- data/sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb +14 -0
- data/sub/eac_cli/spec/lib/eac_cli/parser/alternative/subcommands_spec.rb +58 -0
- data/sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb +89 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner/for_context_spec.rb +79 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_spec.rb +129 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation/input_result_spec.rb +36 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation_spec.rb +42 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb +21 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb +51 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/output_list_spec.rb +57 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/output_spec.rb +81 -0
- data/sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb +99 -0
- data/sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb +36 -0
- data/sub/{eac_docker → eac_cli}/spec/spec_helper.rb +1 -2
- metadata +108 -48
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb +0 -14
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances.rb +0 -11
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb +0 -13
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources.rb +0 -11
- data/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +0 -21
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache/resource.rb +0 -57
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/apache.rb +0 -24
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +0 -31
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/instances/base.rb +0 -24
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/rspec/ssh_docker_server.rb +0 -82
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base/docker.rb +0 -15
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +0 -26
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +0 -7
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0.rb +0 -13
- data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/docker_image_spec.rb +0 -12
- data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/rspec/ssh_docker_server_spec.rb +0 -11
- data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +0 -11
- data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base_spec.rb +0 -5
- data/sub/avm-eac_ubuntu_base0/spec/spec_helper.rb +0 -5
- data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/docker_image/Dockerfile.template +0 -27
- data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/rspec/ssh_docker_server/Dockerfile.template +0 -24
- data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/rspec/ssh_docker_server/id_rsa +0 -27
- data/sub/avm-eac_ubuntu_base0/template/avm/eac_ubuntu_base0/rspec/ssh_docker_server/id_rsa.pub +0 -1
- data/sub/eac_docker/Gemfile +0 -8
- data/sub/eac_docker/eac_docker.gemspec +0 -20
- data/sub/eac_docker/lib/eac_docker/container.rb +0 -83
- data/sub/eac_docker/lib/eac_docker/debug.rb +0 -13
- data/sub/eac_docker/lib/eac_docker/executables.rb +0 -15
- data/sub/eac_docker/lib/eac_docker/images/base.rb +0 -11
- data/sub/eac_docker/lib/eac_docker/images/coded.rb +0 -39
- data/sub/eac_docker/lib/eac_docker/images/named.rb +0 -26
- data/sub/eac_docker/lib/eac_docker/images/templatized.rb +0 -43
- data/sub/eac_docker/lib/eac_docker/registry.rb +0 -15
- data/sub/eac_docker/lib/eac_docker/rspec/setup.rb +0 -15
- data/sub/eac_docker/lib/eac_docker/rspec/stub_image.rb +0 -39
- data/sub/eac_docker/lib/eac_docker/version.rb +0 -5
- data/sub/eac_docker/lib/eac_docker.rb +0 -9
- data/sub/eac_docker/spec/lib/eac_docker/executables_spec.rb +0 -7
- data/sub/eac_docker/spec/lib/eac_docker/images/coded_spec.rb +0 -10
- data/sub/eac_docker/spec/lib/eac_docker/images/coded_spec_files/image1/Dockerfile +0 -1
- data/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec.rb +0 -15
- data/sub/eac_docker/spec/lib/eac_docker/images/templatized_spec_files/stub_docker_image/Dockerfile +0 -1
- data/sub/eac_docker/spec/rubocop_spec.rb +0 -3
- /data/sub/{avm-eac_ubuntu_base0 → eac_cli}/Gemfile +0 -0
- /data/sub/{avm-eac_ubuntu_base0 → eac_cli}/spec/rubocop_spec.rb +0 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/confirmation/input_result'
|
4
|
+
require 'eac_cli/speaker'
|
5
|
+
require 'eac_ruby_utils'
|
6
|
+
|
7
|
+
RSpec.describe EacCli::RunnerWith::Confirmation::InputResult do
|
8
|
+
let(:speaker) { EacCli::Speaker.new }
|
9
|
+
|
10
|
+
around do |example|
|
11
|
+
EacRubyUtils::Speaker.context.on(speaker) { example.run }
|
12
|
+
end
|
13
|
+
|
14
|
+
before do
|
15
|
+
allow(speaker).to receive(:warn) { |message| raise(message.to_s) }
|
16
|
+
end
|
17
|
+
|
18
|
+
[
|
19
|
+
['n', false, false],
|
20
|
+
['N', false, true],
|
21
|
+
['y', true, false],
|
22
|
+
['Y', true, true]
|
23
|
+
].each do |test_values|
|
24
|
+
user_input, confirm, for_all = test_values
|
25
|
+
context "when user input is \"#{user_input}\"" do
|
26
|
+
let(:instance) { described_class.by_message('A message') }
|
27
|
+
|
28
|
+
before do
|
29
|
+
allow(speaker).to receive(:request_string).and_return(user_input)
|
30
|
+
end
|
31
|
+
|
32
|
+
it { expect(instance.confirm?).to eq(confirm) }
|
33
|
+
it { expect(instance.for_all?).to eq(for_all) }
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/confirmation'
|
4
|
+
|
5
|
+
RSpec.describe EacCli::RunnerWith::Confirmation do
|
6
|
+
let(:runner) do
|
7
|
+
the_module = described_class
|
8
|
+
Class.new do
|
9
|
+
include the_module
|
10
|
+
|
11
|
+
runner_definition do
|
12
|
+
desc 'A stub runner.'
|
13
|
+
end
|
14
|
+
|
15
|
+
def run
|
16
|
+
if confirm?
|
17
|
+
Kernel.puts 'Accepted'
|
18
|
+
else
|
19
|
+
Kernel.puts 'Denied'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
let(:instance) { runner.create(argv: runner_argv) }
|
26
|
+
|
27
|
+
context 'without --no option' do
|
28
|
+
let(:runner_argv) { %w[--no] }
|
29
|
+
|
30
|
+
it do
|
31
|
+
expect { instance.run }.to output("Denied\n").to_stdout_from_any_process
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'without --yes option' do
|
36
|
+
let(:runner_argv) { %w[--yes] }
|
37
|
+
|
38
|
+
it do
|
39
|
+
expect { instance.run }.to output("Accepted\n").to_stdout_from_any_process
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/help/layout'
|
4
|
+
|
5
|
+
RSpec.describe EacCli::RunnerWith::Help::Layout do
|
6
|
+
describe '#list_section' do
|
7
|
+
{
|
8
|
+
['Options', ['Option A', 'Option B']] => <<~TEXT
|
9
|
+
Options:
|
10
|
+
Option A
|
11
|
+
Option B
|
12
|
+
TEXT
|
13
|
+
}.each do |source, expected|
|
14
|
+
context "when source is #{source}" do
|
15
|
+
it do
|
16
|
+
expect(described_class.list_section(*source)).to eq(expected)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/help'
|
4
|
+
require 'eac_ruby_utils'
|
5
|
+
|
6
|
+
RSpec.describe EacCli::RunnerWith::Help do
|
7
|
+
let(:runner) do
|
8
|
+
the_module = described_class
|
9
|
+
Class.new do
|
10
|
+
include the_module
|
11
|
+
|
12
|
+
runner_definition do
|
13
|
+
desc 'A stub runner.'
|
14
|
+
pos_arg :a_argument
|
15
|
+
end
|
16
|
+
|
17
|
+
def run
|
18
|
+
puts 'Runner run'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
[
|
24
|
+
['--help'],
|
25
|
+
['trash-pos-arg-before', '--help', 'trash-pos-arg-after', '--any-option', '-XYZ',
|
26
|
+
'other-trash-arg']
|
27
|
+
].each do |runner_argv|
|
28
|
+
context "when runner ARGV is #{runner_argv}" do
|
29
|
+
let(:instance) { runner.create(argv: runner_argv) }
|
30
|
+
let(:expected_output_source) do
|
31
|
+
<<~OUTPUT
|
32
|
+
A stub runner.
|
33
|
+
|
34
|
+
Usage:
|
35
|
+
__PROGRAM__ [options] <a_argument>
|
36
|
+
__PROGRAM__ --help
|
37
|
+
|
38
|
+
Options:
|
39
|
+
-h --help Show help.
|
40
|
+
OUTPUT
|
41
|
+
end
|
42
|
+
let(:expected_output) do
|
43
|
+
expected_output_source.gsub('__PROGRAM__', instance.program_name)
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'show help text' do
|
47
|
+
expect { instance.run_run }.to output(expected_output).to_stdout_from_any_process
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/output_list'
|
4
|
+
|
5
|
+
RSpec.describe EacCli::RunnerWith::OutputList do
|
6
|
+
let(:runner) do
|
7
|
+
the_module = described_class
|
8
|
+
Class.new do
|
9
|
+
include the_module
|
10
|
+
|
11
|
+
def run
|
12
|
+
run_output
|
13
|
+
end
|
14
|
+
|
15
|
+
def list_columns
|
16
|
+
%w[id name]
|
17
|
+
end
|
18
|
+
|
19
|
+
def list_rows
|
20
|
+
[[1, 'João'], [2, 'Maria']].map { |v| Struct.new(:id, :name).new(*v) }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
let(:instance) { runner.create(argv: runner_argv) }
|
26
|
+
|
27
|
+
{
|
28
|
+
'csv' => <<~OUTPUT,
|
29
|
+
id,name
|
30
|
+
1,João
|
31
|
+
2,Maria
|
32
|
+
OUTPUT
|
33
|
+
'tty' => <<~OUTPUT,
|
34
|
+
┌──┬─────┐
|
35
|
+
│id│name │
|
36
|
+
│1 │João │
|
37
|
+
├──┼─────┤
|
38
|
+
│2 │Maria│
|
39
|
+
└──┴─────┘
|
40
|
+
OUTPUT
|
41
|
+
'yaml' => <<~OUTPUT
|
42
|
+
---
|
43
|
+
- id: '1'
|
44
|
+
name: João
|
45
|
+
- id: '2'
|
46
|
+
name: Maria
|
47
|
+
OUTPUT
|
48
|
+
}.each do |format, expected_output|
|
49
|
+
context "with --format=#{format}" do
|
50
|
+
let(:runner_argv) { ['--format', format] }
|
51
|
+
|
52
|
+
it do
|
53
|
+
expect { instance.run }.to output(expected_output).to_stdout_from_any_process
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner_with/output'
|
4
|
+
require 'eac_ruby_utils'
|
5
|
+
|
6
|
+
RSpec.describe EacCli::RunnerWith::Output do
|
7
|
+
let(:runner) do
|
8
|
+
the_module = described_class
|
9
|
+
Class.new do
|
10
|
+
include the_module
|
11
|
+
|
12
|
+
attr_accessor :temp_dir
|
13
|
+
|
14
|
+
runner_definition do
|
15
|
+
desc 'A stub root runner.'
|
16
|
+
pos_arg :input_text
|
17
|
+
end
|
18
|
+
|
19
|
+
def run
|
20
|
+
run_output
|
21
|
+
end
|
22
|
+
|
23
|
+
def output_content
|
24
|
+
parsed.input_text
|
25
|
+
end
|
26
|
+
|
27
|
+
def default_file_to_output
|
28
|
+
temp_dir.join('default_file')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
let(:stub_text) { 'STUB_TEXT' }
|
34
|
+
let(:instance) do
|
35
|
+
r = runner.create(argv: runner_argv)
|
36
|
+
r.temp_dir = temp_dir
|
37
|
+
r
|
38
|
+
end
|
39
|
+
let(:temp_dir) { EacRubyUtils::Fs::Temp.directory }
|
40
|
+
|
41
|
+
after { temp_dir.remove }
|
42
|
+
|
43
|
+
context 'without --output option' do
|
44
|
+
let(:runner_argv) { [stub_text] }
|
45
|
+
|
46
|
+
it do
|
47
|
+
expect { instance.run }.to output(stub_text).to_stdout_from_any_process
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
context 'without --output option as to stdout' do
|
52
|
+
let(:runner_argv) { ['--output', EacCli::RunnerWith::Output::STDOUT_OPTION, stub_text] }
|
53
|
+
|
54
|
+
it do
|
55
|
+
expect { instance.run }.to output(stub_text).to_stdout_from_any_process
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
context 'without --output option as to default file' do
|
60
|
+
let(:output_file) { temp_dir.join('default_file') }
|
61
|
+
let(:runner_argv) do
|
62
|
+
['--output', EacCli::RunnerWith::Output::DEFAULT_FILE_OPTION,
|
63
|
+
stub_text]
|
64
|
+
end
|
65
|
+
|
66
|
+
before { instance.run }
|
67
|
+
|
68
|
+
it { expect(output_file).to exist }
|
69
|
+
it { expect(output_file.read).to eq(stub_text) }
|
70
|
+
end
|
71
|
+
|
72
|
+
context 'with --output option' do
|
73
|
+
let(:output_file) { temp_dir.join('a output file') }
|
74
|
+
let(:runner_argv) { ['--output', output_file.to_path, stub_text] }
|
75
|
+
|
76
|
+
before { instance.run }
|
77
|
+
|
78
|
+
it { expect(output_file).to exist }
|
79
|
+
it { expect(output_file.read).to eq(stub_text) }
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/runner'
|
4
|
+
require 'eac_cli/runner_with/help'
|
5
|
+
require 'eac_cli/runner_with/subcommands'
|
6
|
+
|
7
|
+
RSpec.describe EacCli::RunnerWith::Subcommands do
|
8
|
+
let(:parent_runner) do
|
9
|
+
the_module = described_class
|
10
|
+
the_child = child_runner
|
11
|
+
Class.new do
|
12
|
+
include the_module
|
13
|
+
|
14
|
+
const_set('ChildCmd', the_child)
|
15
|
+
|
16
|
+
runner_definition do
|
17
|
+
desc 'A stub root runner.'
|
18
|
+
arg_opt '-r', '--root-var', 'A root variable.'
|
19
|
+
subcommands
|
20
|
+
end
|
21
|
+
|
22
|
+
delegate :root_var, to: :parsed
|
23
|
+
for_context :method_in_parent_runner
|
24
|
+
|
25
|
+
def method_in_parent_runner; end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:child_runner) do
|
30
|
+
Class.new do
|
31
|
+
include EacCli::Runner
|
32
|
+
|
33
|
+
runner_definition do
|
34
|
+
bool_opt '-c', '--child-opt', 'A boolean option.'
|
35
|
+
pos_arg :child_var
|
36
|
+
end
|
37
|
+
|
38
|
+
def run
|
39
|
+
runner_context.call(:method_in_parent_runner)
|
40
|
+
method_in_parent_runner
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
let(:instance) { parent_runner.create(argv: parent_argv) }
|
46
|
+
|
47
|
+
context 'when subcommand is supplied' do
|
48
|
+
let(:parent_argv) { %w[--root-var 123 child-cmd --child-opt 456] }
|
49
|
+
|
50
|
+
it { expect(instance.parsed.root_var).to eq('123') }
|
51
|
+
it { expect(instance.parsed.subcommand).to eq('child-cmd') }
|
52
|
+
it { expect(instance.parsed.subcommand_args).to eq(%w[--child-opt 456]) }
|
53
|
+
it { expect(instance.subcommand_runner.parsed.child_opt).to be(true) }
|
54
|
+
it { expect(instance.subcommand_runner.parsed.child_var).to eq('456') }
|
55
|
+
|
56
|
+
it do
|
57
|
+
expect { instance.run_run }.not_to raise_error
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
context 'when subcommand is not supplied' do
|
62
|
+
let(:instance) { parent_runner.create(%w[456]) }
|
63
|
+
|
64
|
+
it do
|
65
|
+
expect { instance.run }.to raise_error(EacCli::Parser::Error)
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
context 'with help' do
|
70
|
+
let(:instance) { parent_runner.create(%w[--help]) }
|
71
|
+
let(:expected_output_source) do
|
72
|
+
<<~OUTPUT
|
73
|
+
A stub root runner.
|
74
|
+
|
75
|
+
Usage:
|
76
|
+
__PROGRAM__ [options] __SUBCOMMANDS__ [<subcommand_args>...]
|
77
|
+
__PROGRAM__ --help
|
78
|
+
|
79
|
+
Options:
|
80
|
+
-r --root-var=<value> A root variable.
|
81
|
+
-h --help Show help.
|
82
|
+
|
83
|
+
Subcommands:
|
84
|
+
child-cmd
|
85
|
+
OUTPUT
|
86
|
+
end
|
87
|
+
let(:expected_output) do
|
88
|
+
expected_output_source.gsub('__PROGRAM__', instance.program_name)
|
89
|
+
end
|
90
|
+
|
91
|
+
before do
|
92
|
+
parent_runner.include(EacCli::RunnerWith::Help)
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'show help text' do
|
96
|
+
expect { instance.run_run }.to output(expected_output).to_stdout_from_any_process
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_cli/speaker'
|
4
|
+
|
5
|
+
RSpec.describe EacCli::Speaker do
|
6
|
+
let(:instance) { described_class.new }
|
7
|
+
|
8
|
+
before do
|
9
|
+
allow(instance).to receive(:warn) { |message| raise(message.to_s) }
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '#input' do
|
13
|
+
it 'recover value from hash list' do
|
14
|
+
allow(instance).to receive(:request_string).and_return('opt1')
|
15
|
+
list = { opt1: 'value1', opt2: 'value2' }
|
16
|
+
expect(instance.input('Question', list: list)).to eq('value1')
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'recover value from array list' do
|
20
|
+
allow(instance).to receive(:request_string).and_return('OPT1')
|
21
|
+
list = %w[opt1 opt2]
|
22
|
+
expect(instance.input('Question', list: list)).to eq('opt1')
|
23
|
+
end
|
24
|
+
|
25
|
+
{
|
26
|
+
'yes' => true, 'y' => true, 'Y' => true, 'NO' => false, 'no' => false, 'n' => false
|
27
|
+
}.each do |input, expected|
|
28
|
+
context "when bool: true and input is \"#{input}\"" do
|
29
|
+
it "return #{expected}" do
|
30
|
+
allow(instance).to receive(:request_string).and_return(input)
|
31
|
+
expect(instance.input('Question', bool: true)).to eq(expected)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.103.
|
4
|
+
version: 0.103.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Put here the authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm
|
@@ -213,6 +213,9 @@ dependencies:
|
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0.23'
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 0.23.1
|
216
219
|
type: :runtime
|
217
220
|
prerelease: false
|
218
221
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -220,6 +223,9 @@ dependencies:
|
|
220
223
|
- - "~>"
|
221
224
|
- !ruby/object:Gem::Version
|
222
225
|
version: '0.23'
|
226
|
+
- - ">="
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.23.1
|
223
229
|
- !ruby/object:Gem::Dependency
|
224
230
|
name: avm-eac_redmine_plugin_base0
|
225
231
|
requirement: !ruby/object:Gem::Requirement
|
@@ -395,7 +401,6 @@ files:
|
|
395
401
|
- sub/avm-eac_redmine_base0/Gemfile
|
396
402
|
- sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec
|
397
403
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0.rb
|
398
|
-
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances.rb
|
399
404
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/apache_host.rb
|
400
405
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base.rb
|
401
406
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
|
@@ -411,17 +416,14 @@ files:
|
|
411
416
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/project.rb
|
412
417
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/root.rb
|
413
418
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/rest_api/wiki_page.rb
|
414
|
-
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners.rb
|
415
419
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/docker.rb
|
416
420
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project.rb
|
417
421
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page.rb
|
418
422
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/read.rb
|
419
423
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project/wiki_page/write.rb
|
420
424
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/runners/project_rename.rb
|
421
|
-
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources.rb
|
422
425
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/base.rb
|
423
426
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/core_update.rb
|
424
|
-
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners.rb
|
425
427
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/core_update.rb
|
426
428
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/sources/runners/docker.rb
|
427
429
|
- sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb
|
@@ -441,48 +443,106 @@ files:
|
|
441
443
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_https_virtualhost.conf.template
|
442
444
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/apache_path_dockerfile
|
443
445
|
- sub/avm-eac_redmine_base0/template/avm/eac_redmine_base0/instances/docker_image/start.sh.template
|
444
|
-
- sub/
|
445
|
-
- sub/
|
446
|
-
- sub/
|
447
|
-
- sub/
|
448
|
-
- sub/
|
449
|
-
- sub/
|
450
|
-
- sub/
|
451
|
-
- sub/
|
452
|
-
- sub/
|
453
|
-
- sub/
|
454
|
-
- sub/
|
455
|
-
- sub/
|
456
|
-
- sub/
|
457
|
-
- sub/
|
458
|
-
- sub/
|
459
|
-
- sub/
|
460
|
-
- sub/
|
461
|
-
- sub/
|
462
|
-
- sub/
|
463
|
-
- sub/
|
464
|
-
- sub/
|
465
|
-
- sub/
|
466
|
-
- sub/
|
467
|
-
- sub/
|
468
|
-
- sub/
|
469
|
-
- sub/
|
470
|
-
- sub/
|
471
|
-
- sub/
|
472
|
-
- sub/
|
473
|
-
- sub/
|
474
|
-
- sub/
|
475
|
-
- sub/
|
476
|
-
- sub/
|
477
|
-
- sub/
|
478
|
-
- sub/
|
479
|
-
- sub/
|
480
|
-
- sub/
|
481
|
-
- sub/
|
482
|
-
- sub/
|
483
|
-
- sub/
|
484
|
-
- sub/
|
485
|
-
- sub/
|
446
|
+
- sub/eac_cli/Gemfile
|
447
|
+
- sub/eac_cli/eac_cli.gemspec
|
448
|
+
- sub/eac_cli/lib/eac_cli.rb
|
449
|
+
- sub/eac_cli/lib/eac_cli/config.rb
|
450
|
+
- sub/eac_cli/lib/eac_cli/config/entry.rb
|
451
|
+
- sub/eac_cli/lib/eac_cli/config/entry/options.rb
|
452
|
+
- sub/eac_cli/lib/eac_cli/config/entry/undefined.rb
|
453
|
+
- sub/eac_cli/lib/eac_cli/core_ext.rb
|
454
|
+
- sub/eac_cli/lib/eac_cli/default_runner.rb
|
455
|
+
- sub/eac_cli/lib/eac_cli/definition.rb
|
456
|
+
- sub/eac_cli/lib/eac_cli/definition/alternative.rb
|
457
|
+
- sub/eac_cli/lib/eac_cli/definition/argument_option.rb
|
458
|
+
- sub/eac_cli/lib/eac_cli/definition/boolean_option.rb
|
459
|
+
- sub/eac_cli/lib/eac_cli/definition/error.rb
|
460
|
+
- sub/eac_cli/lib/eac_cli/definition/option.rb
|
461
|
+
- sub/eac_cli/lib/eac_cli/definition/option/initialize_args_parser.rb
|
462
|
+
- sub/eac_cli/lib/eac_cli/definition/option_or_positional.rb
|
463
|
+
- sub/eac_cli/lib/eac_cli/definition/positional.rb
|
464
|
+
- sub/eac_cli/lib/eac_cli/enum.rb
|
465
|
+
- sub/eac_cli/lib/eac_cli/old_configs.rb
|
466
|
+
- sub/eac_cli/lib/eac_cli/old_configs/entry_reader.rb
|
467
|
+
- sub/eac_cli/lib/eac_cli/old_configs/password_entry_reader.rb
|
468
|
+
- sub/eac_cli/lib/eac_cli/old_configs/read_entry_options.rb
|
469
|
+
- sub/eac_cli/lib/eac_cli/old_configs/store_passwords_entry_reader.rb
|
470
|
+
- sub/eac_cli/lib/eac_cli/parser.rb
|
471
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative.rb
|
472
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/any_options.rb
|
473
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/argv.rb
|
474
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/double_dash.rb
|
475
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/long_options.rb
|
476
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/option_argument.rb
|
477
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/options.rb
|
478
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/positionals.rb
|
479
|
+
- sub/eac_cli/lib/eac_cli/parser/alternative/short_options.rb
|
480
|
+
- sub/eac_cli/lib/eac_cli/parser/collector.rb
|
481
|
+
- sub/eac_cli/lib/eac_cli/parser/error.rb
|
482
|
+
- sub/eac_cli/lib/eac_cli/patches.rb
|
483
|
+
- sub/eac_cli/lib/eac_cli/patches/object.rb
|
484
|
+
- sub/eac_cli/lib/eac_cli/patches/object/runner_with.rb
|
485
|
+
- sub/eac_cli/lib/eac_cli/rspec.rb
|
486
|
+
- sub/eac_cli/lib/eac_cli/rspec/setup.rb
|
487
|
+
- sub/eac_cli/lib/eac_cli/runner.rb
|
488
|
+
- sub/eac_cli/lib/eac_cli/runner/after_class_methods.rb
|
489
|
+
- sub/eac_cli/lib/eac_cli/runner/class_runner.rb
|
490
|
+
- sub/eac_cli/lib/eac_cli/runner/context.rb
|
491
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders.rb
|
492
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders/base.rb
|
493
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders/parent.rb
|
494
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders/runner.rb
|
495
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders/runner_missing_method.rb
|
496
|
+
- sub/eac_cli/lib/eac_cli/runner/context_responders/set.rb
|
497
|
+
- sub/eac_cli/lib/eac_cli/runner/exit.rb
|
498
|
+
- sub/eac_cli/lib/eac_cli/runner/for_context.rb
|
499
|
+
- sub/eac_cli/lib/eac_cli/runner/instance_methods.rb
|
500
|
+
- sub/eac_cli/lib/eac_cli/runner_with.rb
|
501
|
+
- sub/eac_cli/lib/eac_cli/runner_with/confirmation.rb
|
502
|
+
- sub/eac_cli/lib/eac_cli/runner_with/confirmation/input_result.rb
|
503
|
+
- sub/eac_cli/lib/eac_cli/runner_with/help.rb
|
504
|
+
- sub/eac_cli/lib/eac_cli/runner_with/help/builder.rb
|
505
|
+
- sub/eac_cli/lib/eac_cli/runner_with/help/builder/alternative.rb
|
506
|
+
- sub/eac_cli/lib/eac_cli/runner_with/help/layout.rb
|
507
|
+
- sub/eac_cli/lib/eac_cli/runner_with/input.rb
|
508
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output.rb
|
509
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_item.rb
|
510
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_item/asciidoc_formatter.rb
|
511
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_item/base_formatter.rb
|
512
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_item/csv_formatter.rb
|
513
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_item/yaml_formatter.rb
|
514
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_list.rb
|
515
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_list/base_formatter.rb
|
516
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_list/csv_formatter.rb
|
517
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_list/tty_formatter.rb
|
518
|
+
- sub/eac_cli/lib/eac_cli/runner_with/output_list/yaml_formatter.rb
|
519
|
+
- sub/eac_cli/lib/eac_cli/runner_with/subcommands.rb
|
520
|
+
- sub/eac_cli/lib/eac_cli/runner_with/subcommands/definition_concern.rb
|
521
|
+
- sub/eac_cli/lib/eac_cli/runner_with_set.rb
|
522
|
+
- sub/eac_cli/lib/eac_cli/speaker.rb
|
523
|
+
- sub/eac_cli/lib/eac_cli/speaker/constants.rb
|
524
|
+
- sub/eac_cli/lib/eac_cli/speaker/input_blocked.rb
|
525
|
+
- sub/eac_cli/lib/eac_cli/speaker/input_requested.rb
|
526
|
+
- sub/eac_cli/lib/eac_cli/speaker/list.rb
|
527
|
+
- sub/eac_cli/lib/eac_cli/speaker/options.rb
|
528
|
+
- sub/eac_cli/lib/eac_cli/speaker/request_from_list.rb
|
529
|
+
- sub/eac_cli/lib/eac_cli/version.rb
|
530
|
+
- sub/eac_cli/spec/lib/eac_cli/definition/alternative_spec.rb
|
531
|
+
- sub/eac_cli/spec/lib/eac_cli/old_configs_spec.rb
|
532
|
+
- sub/eac_cli/spec/lib/eac_cli/parser/alternative/subcommands_spec.rb
|
533
|
+
- sub/eac_cli/spec/lib/eac_cli/parser/alternative_spec.rb
|
534
|
+
- sub/eac_cli/spec/lib/eac_cli/runner/for_context_spec.rb
|
535
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_spec.rb
|
536
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation/input_result_spec.rb
|
537
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/confirmation_spec.rb
|
538
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/help/layout_spec.rb
|
539
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/help_spec.rb
|
540
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/output_list_spec.rb
|
541
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/output_spec.rb
|
542
|
+
- sub/eac_cli/spec/lib/eac_cli/runner_with/subcommands_spec.rb
|
543
|
+
- sub/eac_cli/spec/lib/eac_cli/speaker_spec.rb
|
544
|
+
- sub/eac_cli/spec/rubocop_spec.rb
|
545
|
+
- sub/eac_cli/spec/spec_helper.rb
|
486
546
|
homepage:
|
487
547
|
licenses: []
|
488
548
|
metadata: {}
|