Sha256: 8ae920c9616b33740b8b164ccc2f2465aef64a4a80ea214ad0bef8424a82ac69

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'keepasser'

module Keepasser
  class CLI < ::Thor
    desc 'version', 'Print keepasser version'
    def version
      puts "keepasser version #{VERSION}"
    end
    map %w(-v --version) => :version

    desc 'compare <a_file> <another_file>', 'Compare two KeepassX exports'
    def compare left, right
      comparator = Comparator.new left, right
      puts comparator
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
keepasser-0.1.0 lib/keepasser/cli.rb