Module: Quik

Defined in:
lib/quik/cli/main.rb,
lib/quik.rb,
lib/quik.rb,
lib/quik/config.rb,
lib/quik/merger.rb,
lib/quik/wizard.rb,
lib/quik/builder.rb,
lib/quik/catalog.rb,
lib/quik/package.rb,
lib/quik/version.rb,
lib/quik/cli/opts.rb

Overview

NOTE: wrap gli config into a class

see github.com/davetron5000/gli/issues/153

Defined Under Namespace

Modules: Wizard Classes: Builder, Catalog, Merger, OpenConfig, Opts, Package, Tool, Toolii

Constant Summary collapse

QUIK_SCRIPTS_URL =

builtin default urls

"https://github.com/quikstart/scripts/raw/master/scripts.yml"
MAJOR =

todo: namespace inside version or something - why? why not??

1
MINOR =
0
PATCH =
0
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details

version string for generator meta tag (includes ruby version)



15
16
17
# File 'lib/quik/version.rb', line 15

def self.banner
  "quik/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end

.main(args = ARGV) ⇒ Object



46
47
48
# File 'lib/quik.rb', line 46

def self.main( args=ARGV )
  exit Tool.new.run( args )
end

.rootObject



19
20
21
# File 'lib/quik/version.rb', line 19

def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end

.versionObject



10
11
12
# File 'lib/quik/version.rb', line 10

def self.version
  VERSION
end