Sha256: ff2ae9ec344f12b1fcc20123477743834412dac9bf5273765caf77b11e96e117

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

require "dry/cli"
require_relative "./cli/version"
require_relative "./cli/init"
require_relative "./cli/push"

module Inventarium
  module CLI
    extend Dry::CLI::Registry

    register "version", Version, aliases: ["v", "-v", "--version"]

    register "init",    Init
    register "push",    Push
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inventarium-0.2.0 lib/inventarium/cli.rb
inventarium-0.1.2 lib/inventarium/cli.rb
inventarium-0.1.1 lib/inventarium/cli.rb
inventarium-0.1.0 lib/inventarium/cli.rb
inventarium-0.0.1 lib/inventarium/cli.rb