     @Option(help: "The path of the generated appiconset")
     var outputPath = "AppIcon"
 
-    @Flag(help: "Whether or not to generate iPad icons")
+    @Flag(help: "Generate also iPad icons")
     var ipad = false
 
-    @Flag(help: "Whether or not to generate Mac icons")
+    @Flag(help: "Generate also Mac icons")
     var mac = false
 
-    @Flag(help: "Whether or not to generate Apple Watch icons")
+    @Flag(help: "Generate also Apple Watch icons")
     var watch = false
 
     func run() throws {
         guard image.hasSuffix(".png") else {
             throw ValidationError("image path should have .png extension")
+        }
+
+        guard FileManager.default.fileExists(atPath: image) else {
+            throw ValidationError("an input image is not exists")
         }
 
         let outputExpansion = ".appiconset"

import AppIconCore
import ArgumentParser

struct AppIcon: ParsableCommand {
    static let configuration = CommandConfiguration(

        do {
            try ImageExtractor.extract(input: (image, platforms), output: (iconName, outputPath))
        } catch {
            print("Image Extraction Error has occurred 😱")
            throw ExitCode(1)
        }

        do {
            try JsonExtractor.extract(input: platforms, output: (iconName, outputPath))
        } catch {
            print("Json Extraction Error has occurred 😱")
            throw ExitCode(1)
        }

