Module: Fauve::CLI
- Defined in:
- lib/fauve/cli.rb
Overview
fauve -o x/y/x.html [rails/public] -i x/y/z.yml [rails/config/fauve.xml] -v [variations default true]
Class Method Summary collapse
Class Method Details
.options ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/fauve/cli.rb', line 15 def # Trollop::options do # opt :output, "Output", :type => :string, :default => ( defined?(Rails) ? Rails.public_path.to_s : "./" ) # opt :input, "Input", :type => :string, :default => ( defined?(Rails) ? "#{Rails.root}/config" : "./" ) # opt :skip_variations, "Skip variations", :short => "-v" # end end |
.run ⇒ Object
10 11 |
# File 'lib/fauve/cli.rb', line 10 def run end |