From b59cc730fdbcc81752d6c9b23ac00a3b0aff1c8a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 16 Sep 2024 18:41:51 +0200 Subject: feat(bundle): Support bundling a document into one TeX file --- src/cli.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cli.rs') 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)] -- cgit 1.4.1