Sha256: 93c2ed85bb5cf53ef2d7e105a7ebabdfa4be965e38f6f19168193c752fe7c459

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true
# typed: true

module Cmd
  class Cli
    extend Dry::CLI::Registry

    register 'version', Version, aliases: ['v', '-v', '--version']
    register 'add', aliases: ['a'] do |prefix|
      prefix.register 'repl', Add::Repl
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spell_craft-0.1.2 lib/cmd/cli.rb
spell_craft-0.1.1 lib/cmd/cli.rb
spell_craft-0.1.0 lib/cmd/cli.rb