Sha256: 47cac9cb68de50fd4f2504634a69e8cc4499aec816901f9393c87fb6323b5236
Contents?: true
Size: 1.02 KB
Versions: 12
Compression:
Stored size: 1.02 KB
Contents
# -*- coding: UTF-8 -*- require 'build-tool/commands' require 'yaml' module BuildTool; module Commands; module Configuration # # BuildCommand # class Edit < Standard name "edit" description "" long_description [ "Prints an alphabetically sorted list of configuration options. If no arguments are given it lists all, if arguments are specified it prints those matching them." ] def initialize_options options.banner = "Usage: #{self.fullname} [OPTIONS]... NAMES..." options.separator( "" ) options.separator( "Options" ) super end def applicable? BuildTool::Application.instance.has_recipe? end def do_execute( args ) return edit_config_options( args ) end def edit_config_options( only ) return BuildTool::Configuration.edit( only ) end end # class end; end; end # module BuildTool::Commands::Configuration
Version data entries
12 entries across 12 versions & 1 rubygems