Sha256: 49083c2854be8b9420652a1ce94d62f01f0b96261cd42ae9bd9d7ed1f96349a3

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

module PDK
  module 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(['remove', '--help'])
          exit 0
        end

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

require 'pdk/cli/remove/config'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdk-3.3.0 lib/pdk/cli/remove.rb
pdk-3.0.1 lib/pdk/cli/remove.rb
pdk-3.0.0 lib/pdk/cli/remove.rb