From 5573e945c75905ecfe271b15fc888586244afc6b Mon Sep 17 00:00:00 2001 From: Tommaso Negri Date: Mon, 31 Aug 2026 19:59:35 +0000 Subject: Update Sources/aria/Aria.swift --- Sources/aria/Aria.swift | 28 ++++++++++++++++++++++++++++ Sources/aria/aria.swift | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 Sources/aria/Aria.swift delete mode 100644 Sources/aria/aria.swift diff --git a/Sources/aria/Aria.swift b/Sources/aria/Aria.swift new file mode 100644 index 0000000..3144a79 --- /dev/null +++ b/Sources/aria/Aria.swift @@ -0,0 +1,28 @@ +import ArgumentParser + +@main +struct Aria: AsyncParsableCommand { + static let configuration = CommandConfiguration( + commandName: "aria", + abstract: "Friendly aria2c wrapper for your personal downloads.", + discussion: """ + aria helps you keep an eye on and manage all your aria2 downloads. + The cli wraps the standard aria2c JSONRPC server, exposing just + enough functionalities to be dangerous. + + Enjoy a unified API to add, pause, resume and remove downloads. + Use the list command to check the current status in a beautifully + formatted table. + """, + version: "1.0.0", + subcommands: [ + List.self, + Add.self, + Pause.self, + Resume.self, + Remove.self, + Purge.self + ], + defaultSubcommand: List.self + ) +} diff --git a/Sources/aria/aria.swift b/Sources/aria/aria.swift deleted file mode 100644 index 3144a79..0000000 --- a/Sources/aria/aria.swift +++ /dev/null @@ -1,28 +0,0 @@ -import ArgumentParser - -@main -struct Aria: AsyncParsableCommand { - static let configuration = CommandConfiguration( - commandName: "aria", - abstract: "Friendly aria2c wrapper for your personal downloads.", - discussion: """ - aria helps you keep an eye on and manage all your aria2 downloads. - The cli wraps the standard aria2c JSONRPC server, exposing just - enough functionalities to be dangerous. - - Enjoy a unified API to add, pause, resume and remove downloads. - Use the list command to check the current status in a beautifully - formatted table. - """, - version: "1.0.0", - subcommands: [ - List.self, - Add.self, - Pause.self, - Resume.self, - Remove.self, - Purge.self - ], - defaultSubcommand: List.self - ) -} -- cgit v1.2.3