Sha256: f8b6ee313260ec3798ea37ebd6a161ea9681481186a2c776f5926523da29f3db
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
Contents
require 'r10k' require 'r10k/logging' require 'r10k/cli/ext/logging' require 'cri' module R10K::CLI def self.command @cmd ||= Cri::Command.define do name 'r10k' usage 'r10k <subcommand> [options]' summary 'Killer robot powered Puppet environment deployment' description <<-EOD r10k is a suite of commands to help deploy and manage puppet code for complex environments. EOD flag :h, :help, 'show help for this command' do |value, cmd| puts cmd.help exit 0 end required :c, :config, 'Specify a configuration file' do |value, cmd| R10K::Deployment.config.configfile = value end required :v, :verbose, 'Set verbosity level' do |value, cmd| R10K::Logging.level = Integer(value) end flag :t, :trace, 'Display stack traces on application crash' run do |opts, args, cmd| puts cmd.help exit 0 end end end end require 'r10k/cli/environment' require 'r10k/cli/module' require 'r10k/cli/cache' require 'r10k/cli/synchronize'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
r10k-0.0.9 | lib/r10k/cli.rb |
r10k-0.0.8 | lib/r10k/cli.rb |
r10k-0.0.7 | lib/r10k/cli.rb |
r10k-0.0.6 | lib/r10k/cli.rb |