summary refs log tree commit diff stats
path: root/src/command_line_interface.rs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-06-18 16:42:51 +0200
committerSoispha <soispha@vhack.eu>2023-06-18 16:42:51 +0200
commit2b869cfcd174d074911adf8dd261c914cfafda44 (patch)
treee4b12d3b5dcac68c253a28aede6520beed53671d /src/command_line_interface.rs
parentChore: Initial commit (diff)
downloadlpm-2b869cfcd174d074911adf8dd261c914cfafda44.tar.gz
lpm-2b869cfcd174d074911adf8dd261c914cfafda44.zip
Fix(cli): Remove project option
Generating a project should be done on the nix side.
Diffstat (limited to 'src/command_line_interface.rs')
-rw-r--r--src/command_line_interface.rs24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/command_line_interface.rs b/src/command_line_interface.rs
index 66d8122..5d24ae5 100644
--- a/src/command_line_interface.rs
+++ b/src/command_line_interface.rs
@@ -1,4 +1,4 @@
-use clap::{Subcommand, Parser};
+use clap::{Parser, Subcommand};
 
 /// A project manager for LaTeX
 #[derive(Parser, Debug)]
@@ -12,10 +12,9 @@ pub struct Args {
 pub enum Command {
     /// Generates a new part
     #[command(subcommand)]
-    New (SubCommand),
+    New(SubCommand),
 }
 
-
 #[derive(Subcommand, Debug)]
 pub enum SubCommand {
     /// Adds a section
@@ -29,14 +28,13 @@ pub enum SubCommand {
         /// Name of the new Chapter
         name: String,
     },
-
-    /// generates a new project
-    Project {
-        /// Name of the new Project
-        name: String,
-        /// Name of the first chapter
-        first_chapter: String,
-        // /// Name of the first section
-        // first_section: String,
-    },
+    //    /// generates a new project
+    //    Project {
+    //        /// Name of the new Project
+    //        name: String,
+    //        /// Name of the first chapter
+    //        first_chapter: String,
+    //        // /// Name of the first section
+    //        // first_section: String,
+    //    },
 }