lib/pdk/cli/get.rb in pdk-2.4.0 vs lib/pdk/cli/get.rb in pdk-2.5.0
- old
+ new
@@ -1,20 +1,20 @@
-module PDK::CLI
- @get_cmd = @base_cmd.define_command do
- name 'get'
- usage _('get [subcommand] [options]')
- summary _('Retrieve information about the PDK or current project.')
- default_subcommand 'help'
-
- run do |_opts, args, _cmd|
- if args == ['help']
- PDK::CLI.run(%w[get --help])
- exit 0
- end
-
- PDK::CLI.run(%w[get help]) if args.empty?
- end
- end
- @get_cmd.add_command Cri::Command.new_basic_help
-end
-
-require 'pdk/cli/get/config'
+module PDK::CLI
+ @get_cmd = @base_cmd.define_command do
+ name 'get'
+ usage _('get [subcommand] [options]')
+ summary _('Retrieve information about the PDK or current project.')
+ default_subcommand 'help'
+
+ run do |_opts, args, _cmd|
+ if args == ['help']
+ PDK::CLI.run(%w[get --help])
+ exit 0
+ end
+
+ PDK::CLI.run(%w[get help]) if args.empty?
+ end
+ end
+ @get_cmd.add_command Cri::Command.new_basic_help
+end
+
+require 'pdk/cli/get/config'