Sha256: 6385b2cdeb27021a776b573e2e7762c1a2e0d2a7f734bbe47e739923f14f8908

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

UPM::Tool.new "apk" do

  os "alpine"

  command "install", "apk add",      root: true
  command "update",  "apk update",   root: true
  command "upgrade", "apk upgrade",  root: true

  command "files",   "apk info -L", paged: true
  command "search",  "apk search",  paged: true

  command "clean",   "apk clean"
  
  command "list" do |args|
    if args.any?
      query = args.join
      run "apk", "info", grep: query, paged: true
    else
      run "apk", "info", paged: true
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
upm-0.1.13 lib/upm/tools/apk.rb