From ce5524775bb7a7f34f92ee732c7e4df29142cf00 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 09:03:01 +0200 Subject: feat(cli): Add an explicit `subs export` subcommand This subcommand is functionally identical with the previous `subs list --url`, but semantically it improves the situation, by having symmetrical `import` and `export` subcommands. --- src/cli.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index ba92be3..6f5abd2 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -180,13 +180,11 @@ pub enum SubscriptionCommand { #[arg(short, long)] force: bool, }, + /// Write all subscriptions in an format understood by `import` + Export {}, /// List all subscriptions - List { - /// Only show the URLs - #[arg(short, long)] - url: bool, - }, + List {}, } #[derive(Clone, Debug, Args)] -- cgit 1.4.1