Sha256: 85de45e8dec4b4344a252520d896eae89e89538c51243197dece7364ba89c07f

Contents?: true

Size: 513 Bytes

Versions: 10

Compression:

Stored size: 513 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

10 entries across 10 versions & 1 rubygems

Version Path
pdk-2.6.1 lib/pdk/cli/remove.rb
pdk-2.6.0 lib/pdk/cli/remove.rb
pdk-2.5.0 lib/pdk/cli/remove.rb
pdk-2.3.0 lib/pdk/cli/remove.rb
pdk-2.2.0 lib/pdk/cli/remove.rb
pdk-2.1.1 lib/pdk/cli/remove.rb
pdk-2.1.0 lib/pdk/cli/remove.rb
pdk-2.0.0 lib/pdk/cli/remove.rb
pdk-1.18.1 lib/pdk/cli/remove.rb
pdk-1.18.0 lib/pdk/cli/remove.rb