Sha256: f6c84d096df8ee27373906a1d0dff9d2e42889b2c23f3d77102e794ea3cbfb4a

Contents?: true

Size: 959 Bytes

Versions: 6

Compression:

Stored size: 959 Bytes

Contents

#!/usr/bin/env ruby

$:.push 'lib'
require 'rubygems'
require 'thor'
require 'thor/runner'
require 'thor/group'
require 'opskeleton'

module Opsk
  class Root < Thor

    register Opsk::Generate, 'generate', "generate [name] [box]", 'generates opskelaton project structure'
    register Opsk::Module, 'module', 'module [name]', 'generate an rspec ready Puppet module'
    register Opsk::Package, 'package', 'package', 'packages current module for celestial'
    register Opsk::Clean, 'clean', 'clean', 'cleans up packaging products'
    register Opsk::Bump, 'bump', 'bump', 'bumps up version (clearing old version also)'
    register Opsk::Deploy, 'deploy', 'deploy [bintray repo]', 'deploy packge into bintray.com'

    desc 'version', 'print opsk version'  
    def version
	puts Opskeleton::VERSION    
    end
  end 
end

# not sure that this is the cleanest way
Opsk::Root.tasks['generate'].options = Opsk::Generate.class_options 

Opsk::Root.start ARGV

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
opskeleton-0.4.9 bin/opsk
opskeleton-0.4.8 bin/opsk
opskeleton-0.4.7 bin/opsk
opskeleton-0.4.6 bin/opsk
opskeleton-0.4.5 bin/opsk
opskeleton-0.4.4 bin/opsk