Sha256: 1078997bdfc93293bb0511f7b2a8d88e359c930fde666ec38e2750aeee88e917

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

module PDK::CLI
  @remove_cmd = @base_cmd.define_command do
    name 'remove'
    usage 'remove [subcommand] [options]'
    summary 'Remove or delete information about the PDK or current project.'
    default_subcommand 'help'

    run do |_opts, args, _cmd|
      if args == ['help']
        PDK::CLI.run(%w[remove --help])
        exit 0
      end

      PDK::CLI.run(%w[remove help]) if args.empty?
    end
  end
  @remove_cmd.add_command Cri::Command.new_basic_help
end

require 'pdk/cli/remove/config'

Version data entries

2 entries across 2 versions & 1 rubygems

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