Sha256: d193095e9793bd9ef5900c345e2f2f9266ea2f0ef95c99b50c27bbac026edc52
Contents?: true
Size: 892 Bytes
Versions: 1
Compression:
Stored size: 892 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'methadone' require 'pave.rb' class App include Methadone::Main include Methadone::CLILogging main do |command| # Add args you want: |like,so| # your program code here # You can access CLI options via # the options Hash puts "pave - Command line tools for Concrete5." puts "By Jamon Holmgren" end # supplemental methods here # Declare command-line interface here # description "Command line for Concrete5 websites." # # Accept flags via: # on("--flag VAL","Some flag") # options[flag] will contain VAL # # Specify switches via: # on("--[no-]switch","Some switch") # # Or, just call OptionParser methods on opts # # Require an argument # arg :some_arg # # # Make an argument optional # arg :optional_arg, :optional version Pave::VERSION use_log_level_option go! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pave-0.0.1 | bin/pave |