lib/rulebow/cli.rb
# Print out a list of availabe manual triggers.
#
# Returns nothing.
Print out a list of availabe manual triggers.
Returns nothing.
Print out a list of availabe manual triggers . Returns nothing .
def print_rules(*names)
      names = nil if names.empty?
      puts "(#{runner.root})"
      runner.rulesets.each do |name, set|
        next unless names.member?(name.to_s) if names
        print "#{name}"
        print " (#{set.chain.join(' ')})" unless set.chain.empty?
        puts
        set.docs.each_with_index do |d, i|
          puts "  * #{d}"
        end
      end
    end
def print_rules ( * names ) names = nil if names . empty? puts "(#{runner.root})" runner . rulesets . each do | name , set | next unless names . member? ( name . to_s ) if names print "#{name}" print " (#{set.chain.join(' ')})" unless set . chain . empty? puts set . docs . each_with_index do | d , i | puts "  * #{d}" end end end
Print out a list of availabe manual triggers.
Print out a list of availabe manual triggers .
#exit
names
<not_specific>