diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 09:03:01 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 09:03:01 +0200 |
commit | ce5524775bb7a7f34f92ee732c7e4df29142cf00 (patch) | |
tree | 8ce8b3fcd3682de5a6950b5088ebf475e0814a9b /src/cli.rs | |
parent | fix(storage/schema.sql): Tell SQLite to perform type-checking (diff) | |
download | yt-ce5524775bb7a7f34f92ee732c7e4df29142cf00.tar.gz yt-ce5524775bb7a7f34f92ee732c7e4df29142cf00.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 3 insertions, 5 deletions
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)] |