class Importmap::Commands
def unpin(*packages)
def unpin(*packages) if imports = packager.import(*packages, env: options[:env], from: options[:from]) imports.each do |package, url| if packager.packaged?(package) puts %(Unpinning and removing "#{package}") packager.remove(package) end end else puts "Couldn't find any packages in #{packages.inspect} on #{options[:from]}" end end