Sha256: 88472095a2db7103baabd431f6112b927e8f090fc9fccbedc77e4f9433296eaa

Contents?: true

Size: 520 Bytes

Versions: 4

Compression:

Stored size: 520 Bytes

Contents

# frozen_string_literal: true

require 'thor'
require 'tty-prompt'
require 'tty-config'

require 'libis/format/cli/convert'
require 'libis/format/cli/format'

module Libis
  module Format
    class CommandLine < Thor
      def self.exit_on_failure?
        true
      end

      desc 'convert', 'perform format conversion on a given file'
      subcommand 'convert', Cli::Convert

      desc 'format', 'perform format identification on a given file or directory'
      subcommand 'format', Cli::Format
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libis-format-1.3.4 lib/libis/format/command_line.rb
libis-format-1.3.3 lib/libis/format/command_line.rb
libis-format-1.3.2 lib/libis/format/command_line.rb
libis-format-1.3.0 lib/libis/format/command_line.rb