From 93b9a93696ad64d8b9820f36fcf055bddd513fc5 Mon Sep 17 00:00:00 2001 From: Shiloh Fen Date: Sun, 24 Aug 2025 23:11:54 -0500 Subject: [PATCH] feat(dl/posts): Use rest parameters --- nu621/mod.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nu621/mod.nu b/nu621/mod.nu index 805e1ee..784ce87 100644 --- a/nu621/mod.nu +++ b/nu621/mod.nu @@ -24,11 +24,11 @@ export def "download post" [ id: int --force (-f) # Force the post to be re-downloaded ] { - download posts [$id] --force=$force + download posts $id --force=$force } export def "download posts" [ - ids: list + ...ids: int --force (-f) # Force the posts to be re-downloaded ] { log info "Fetching post metadata" -- 2.51.2