Sha256: f7ed3240678d62bc0a6172b8680fe78e171d99bd21e2323665f15384b8eca0f2
Contents?: true
Size: 785 Bytes
Versions: 8
Compression:
Stored size: 785 Bytes
Contents
# encoding: utf-8 usage 'nanoc command [options] [arguments]' summary 'nanoc, a static site compiler written in Ruby' opt :l, :color, 'enable color' do Nanoc::CLI::Logger.instance.color = true end opt :d, :debug, 'enable debugging' do Nanoc::CLI.debug = true end opt :h, :help, 'show the help message and quit' do |value, cmd| puts cmd.help exit 0 end opt :C, :'no-color', 'disable color' do Nanoc::CLI::Logger.instance.color = false end opt :V, :verbose, 'make nanoc output more detailed' do Nanoc::CLI::Logger.instance.level = :low end opt :v, :version, 'show version information and quit' do puts Nanoc.version_information exit 0 end opt :w, :warn, 'enable warnings' do $-w = true end run do |opts, args, cmd| cmd.command_named('compile').run([]) end
Version data entries
8 entries across 8 versions & 1 rubygems