chore: fix test breaking changes
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-05-10 12:03:38 +02:00
parent f284171f5a
commit 86310c6764
13 changed files with 763 additions and 270 deletions

View File

@@ -6,6 +6,7 @@ pub enum Commands {
WriteQuit,
Archive,
CreateSection { name: String },
Edit,
}
impl Commands {
@@ -35,6 +36,7 @@ impl CommandParser {
"cs" | "create-section" => rest.first().map(|name| Commands::CreateSection {
name: name.to_string(),
}),
"e" | "edit" => Some(Commands::Edit),
_ => None,
},
None => None,