Sha256: a62d7cbc98533cde781b9bc53eb1f04b5a66c023b4b4e7dcdd85bf9a1de98495
Contents?: true
Size: 793 Bytes
Versions: 2
Compression:
Stored size: 793 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path('../../lib/zen/version', __FILE__) require 'commander' require 'commander/import' # Set the extra information message information = <<-MSG * Website: http://zen-cms.com/ * Github: https://github.com/zen-cms * License: MIT License MSG # Set the details of the application program :name , 'Zen' program :version , Zen::Version program :description, 'Zen is a modular CMS written using Ramaze.' program :help, 'Example' , '$ zen [COMMAND] [OPTIONS]' program :help, 'Information', information.strip program :help_formatter, Commander::HelpFormatter::TerminalCompact # Load all the commands commands = File.expand_path('../../lib/zen/bin/*.rb', __FILE__) commands = Dir.glob(commands) commands.each do |cmd| require cmd end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zen-0.2.6.1 | bin/zen |
zen-0.2.6 | bin/zen |