Sha256: 6a67e2f9d50c91382aac5de9ea80d427edc3e81abc7a12d284e82fac0734aa50

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

# coding: utf-8

module Abak::Flow
  module Commands
    class Checkup

      def initialize
        manager = Manager.instance

        @configuration = manager.configuration
        @repository = manager.repository
      end

      def run(args, options)
        Visitor.new(@configuration, @repository,
                    command: "checkup", call: :ready?, inspect: :errors)
               .on_fail(exit: 1)

        say ANSI.green { I18n.t("commands.checkup.success") }
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abak-flow-1.0.7 lib/abak-flow/commands/checkup.rb