bin/lib/dev_helper.rb in ass_launcher-0.2.2 vs bin/lib/dev_helper.rb in ass_launcher-0.3.0
- old
+ new
@@ -37,13 +37,16 @@
require_relative './dev_helper/cli_def_report'
require_relative './dev_helper/cli_def_snippets'
require_relative './dev_helper/designer'
class Main < Clamp::Command
+ include AssLauncher::Enterprise::CliDefsLoader
- subcommand 'show-version', 'show ass_launcher version' do
+ subcommand 'show-version', 'show ass_launcher and known 1C:Enterprise versions' do
def execute
- $stdout.puts AssLauncher::VERSION
+ $stdout.puts "AssLauncher::VERSION: #{AssLauncher::VERSION}"
+ $stdout.puts "Known 1C:Enterprise CLI definitions:"
+ $stdout.puts " - #{defs_versions.map(&:to_s).join("\n - ")}"
end
end
subcommand 'cli-def-report',
'generate, csv formatted, report on defined CLI parameters'\
' and puts it into STDOUT. (see DevHelper::CliDefReport)',