From 800ffaf658c3defe165dd24c3ecd65ceabc7096a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 29 Sep 2024 11:48:59 +0200 Subject: feat(new/figure)!: Init BREAKING CHANGE: The config file now needs to contain an `templates.figure` key. You can simply add this. --- src/cli.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index b3ee30c..12419d6 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -39,13 +39,20 @@ pub enum What { /// chapter already. #[arg(long, short)] chapter: Option, - /// Name of the new Section + + /// Name of the new section name: String, }, /// Adds a chapter Chapter { - /// Name of the new Chapter + /// Name of the new chapter + name: String, + }, + + /// Adds a figure + Figure { + /// Name of the new figure name: String, }, } -- cgit 1.4.1