diff options
Diffstat (limited to '')
-rw-r--r-- | src/command_line_interface.rs | 24 |
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, + // }, } |