bin/s3repo in s3repo-0.2.0 vs bin/s3repo in s3repo-0.3.0
- old
+ new
@@ -28,9 +28,18 @@
c.action do |args, _|
S3Repo.new.add_packages find('*/*.pkg.tar.xz', args)
end
end
+ p.command(:remove) do |c|
+ c.syntax 'remove [package...]'
+ c.description 'Remove packages from repo DB'
+
+ c.action do |args, _|
+ S3Repo.new.remove_packages args
+ end
+ end
+
p.action do
puts p
exit 1
end
end