Sha256: 41e867c049bfa58dbe80164ec06963af9e4553fa51b18b5d1d72ba8de0ad92f3
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
UPM::Tool.new "pkg" do os "FreeBSD" command "install", "pkg install", root: true command "update", "pkg update", root: true command "upgrade", "pkg upgrade", root: true command "info", "pkg clean", root: true command "audit", "pkg audit", root: true command "verify", "pkg check --checksums", root: true command "files", "pkg list", paged: true command "search", "pkg search", paged: true, highlight: true command "info", "pkg info", paged: true command "list" do |args| if args.any? query = args.join run "pkg", "info", grep: query, highlight: query, paged: true else run "pkg", "info", paged: true end end command "mirrors" do print_files("/etc/pkg/FreeBSD.conf", exclude: /^(#|$)/) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
upm-0.1.9 | lib/upm/tools/pkg.rb |
upm-0.1.8 | lib/upm/tools/pkg.rb |