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-16 18:41:51 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-16 18:41:51 +0200
commitb59cc730fdbcc81752d6c9b23ac00a3b0aff1c8a (patch)
tree9be6b3004c259d8afe08dce170fa04c6d3265f35 /src/cli.rs
parentchore(references): Add testing data (diff)
downloadlpm-b59cc730fdbcc81752d6c9b23ac00a3b0aff1c8a.tar.gz
lpm-b59cc730fdbcc81752d6c9b23ac00a3b0aff1c8a.zip
feat(bundle): Support bundling a document into one TeX file
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 9fee349..b3ee30c 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -21,6 +21,14 @@ pub enum Command {
     /// Generates a new part
     #[command(subcommand)]
     New(What),
+
+    /// Bundle the project into one TeX file
+    ///
+    /// This command has some known issues and invariants:
+    /// - It does not consider, that `\include`s or `\input`s could be commented out.
+    /// - It does also not consider the case, where `\include` or `\input` have been re-defined
+    #[command(verbatim_doc_comment)]
+    Bundle,
 }
 
 #[derive(Subcommand, Debug)]