summary refs log tree commit diff stats
path: root/src/cli.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:48:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-29 11:49:13 +0200
commit800ffaf658c3defe165dd24c3ecd65ceabc7096a (patch)
treeb9b2e44ac8a73efecdba3ac65be4ebb0dd20e239 /src/cli.rs
parentfix(MangledName): Also replace `"` and `'` (diff)
downloadlpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.tar.gz
lpm-800ffaf658c3defe165dd24c3ecd65ceabc7096a.zip
feat(new/figure)!: Init
BREAKING CHANGE: The config file now needs to contain an
                 `templates.figure` key. You can simply add this.
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs11
1 files changed, 9 insertions, 2 deletions
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<String>,
-        /// 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,
     },
 }