Sha256: 5206e727375e7b266476bfe90ca5c0b94a70e068737e576b56a184a92a02be5a

Contents?: true

Size: 782 Bytes

Versions: 74

Compression:

Stored size: 782 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_writings_base0/project_build'
require 'eac_cli/core_ext'

module Avm
  module Tools
    class Runner
      class AppSrc
        class EacWritingsBase0
          class Info
            runner_with :help do
              desc 'Information about a loca EacRailsBase0 local project.'
            end

            def run
              runner_context.call(:project_banner)
              infov 'Chapters', project.chapters.count
              project.chapters.each_with_index do |chapter, index|
                infov "  * #{index + 1}", chapter
              end
            end

            private

            def project
              runner_context.call(:project)
            end
          end
        end
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
avm-tools-0.130.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.17.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.129.1 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.16.1 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.129.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.16.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.128.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.15.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.14.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.13.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.127.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.12.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.126.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.11.1 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.125.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.11.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.124.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.10.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
avm-tools-0.123.0 lib/avm/tools/runner/app_src/eac_writings_base0/info.rb
eac_tools-0.9.0 sub/avm-tools/lib/avm/tools/runner/app_src/eac_writings_base0/info.rb