download media from various services using cobalt.tools via raycast
raycast raycast-extension

organize imports

+7 -7
+7 -7
src/download-media.tsx
··· 1 1 import { 2 - Form, 2 + Action, 3 3 ActionPanel, 4 - Action, 5 - showToast, 4 + closeMainWindow, 5 + Form, 6 6 getPreferenceValues, 7 - Toast, 8 7 Icon, 9 - showHUD, 10 8 PopToRootType, 11 - closeMainWindow, 9 + showHUD, 12 10 showInFinder, 11 + showToast, 12 + Toast, 13 13 } from "@raycast/api"; 14 14 import fs from "node:fs"; 15 + import { pipeline } from "node:stream/promises"; 15 16 import os from "os"; 16 17 import { Readable } from "stream"; 17 - import { pipeline } from "node:stream/promises"; 18 18 19 19 type Values = { 20 20 url: string;