Sha256: 6a27bdd56309abd2f77d39dc804c08e889268375135f40d153f15e7b741d1abf
Contents?: true
Size: 863 Bytes
Versions: 12
Compression:
Stored size: 863 Bytes
Contents
# -*- coding: UTF-8 -*- require 'build-tool/commands' require 'build-tool/recipe' module BuildTool; module Commands; module Recipes # # BuildCommand # class List < Standard name "list" description "list build recipes" long_description [ "Shows the list of recipes." ] def initialize_options options.banner = "Usage: #{self.fullname} [OPTIONS]..." options.separator( "" ) options.separator( "Options" ) super end def do_execute( args ) recipes = Recipe.all_recipes recipes.keys.sort.each do |name| info( format( "%-20s - %s", name, recipes[name].short_description ) ) end return 0 end end # class end; end # module Commands::Recipes end; # module BuildTool
Version data entries
12 entries across 12 versions & 1 rubygems