bin/jeckyl in jeckyl-0.2.1 vs bin/jeckyl in jeckyl-0.2.3
- old
+ new
@@ -32,9 +32,27 @@
desc "usage", "You are looking at it"
def usage
puts "Useful tasks for managing Jeckyl config files."
puts ""
help
+ puts ""
+ puts "See Also:"
+ puts " README.md: (see jeckyl readme above)"
+ puts " GitHub: https://github.com/osburn-sharp/jeckyl"
+ puts " RubyDoc: http://rdoc.info/github/osburn-sharp/jeckyl/frames"
+ end
+
+ desc "readme", "display the readme file for the gem"
+ def readme
+ gem_spec = Gem::Specification.find_by_name('jeckyl')
+ readme_path = File.join(gem_spec.gem_dir, 'README.md')
+
+ File.open(readme_path) do |rfile|
+ rfile.each_line do |rline|
+ puts rline
+ end
+ end
+
end
desc "list", "list all the config classes involved in a given class"
def list(cfile)
require cfile