Ether-CLI / Ether

A Command-Line Interface for the Swift Package Manager
MIT License
92 stars 2 forks source link

`ether remove` fails #40

Open twof opened 5 years ago

twof commented 5 years ago
$ ether remove twof/VaporCRUDRouter
Error: ⚠️ [EtherError.pinNotFound: No package was found with the name 'twof/VaporCRUDRouter']
$ ether remove VaporCRUDRouter
Error: ⚠️ [EtherError.pinNotFound: No package was found with the name 'VaporCRUDRouter']
$ cat Package.swift
// swift-tools-version:4.0
import PackageDescription

let package = Package(
    name: "CLSwift",
    dependencies: [
        .package(url: "https://github.com/twof/VaporCRUDRouter.git", from: "1.7.0")
    ],
    targets: [
        .target(name: "CLSwift", dependencies: ["VaporCRUDRouter"]),
        .testTarget(name: "CLSwiftTests", dependencies: ["CLSwift"]),
        ]
)
calebkleveter commented 5 years ago

This limitation is due to remove reading the Package.resolved file to get the URL of the package to remove. I'll see what I can do so that isn't necessary.