Sha256: d612a460b7a5d527b89ea710e7ef1ea7910eb7dfdfa49e9e12ae3dd690ca42d7

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

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'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pdk-2.7.1 lib/pdk/cli/get.rb
pdk-2.7.0 lib/pdk/cli/get.rb