Sha256: ecc37891e349cd8871fa6958da0d5389e574b6cbefc8c30f48a906f5cb1b092a

Contents?: true

Size: 352 Bytes

Versions: 24

Compression:

Stored size: 352 Bytes

Contents

require 'thor'
require_relative './version'

module PuppetMagnum
  class Cli < Thor

    desc 'module', 'Module related tasks. Type \'puppet-magnum module\' for more help.'
    subcommand 'module', Module

    desc 'version', 'Display version information.'
    def version
      puts "puppet-magnum (#{PuppetMagnum::VERSION.chomp})"
    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puppet-magnum-3.0.3 lib/puppet-magnum/cli.rb
puppet-magnum-3.0.2 lib/puppet-magnum/cli.rb
puppet-magnum-3.0.1 lib/puppet-magnum/cli.rb
puppet-magnum-3.0.0 lib/puppet-magnum/cli.rb