diff options
author | Soispha <soispha@vhack.eu> | 2023-06-18 16:42:51 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-18 16:42:51 +0200 |
commit | 2b869cfcd174d074911adf8dd261c914cfafda44 (patch) | |
tree | e4b12d3b5dcac68c253a28aede6520beed53671d /src/command_line_interface.rs | |
parent | Chore: Initial commit (diff) | |
download | lpm-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.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, + // }, } |