Make titles optional on feeds and entries

This commit is contained in:
2023-05-17 23:10:23 -04:00
parent bf40b803a9
commit 9059894021
6 changed files with 31 additions and 24 deletions

View File

@@ -32,7 +32,7 @@ enum Commands {
struct AddFeed {
#[argh(option)]
/// title of the feed (max 255 characters)
title: String,
title: Option<String>,
#[argh(option)]
/// URL of the feed (max 2048 characters)
url: String,
@@ -59,7 +59,7 @@ struct DeleteFeed {
struct AddEntry {
#[argh(option)]
/// title of the entry (max 255 characters)
title: String,
title: Option<String>,
#[argh(option)]
/// URL of the entry (max 2048 characters)
url: String,