diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-16 18:41:51 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-16 18:41:51 +0200 |
commit | b59cc730fdbcc81752d6c9b23ac00a3b0aff1c8a (patch) | |
tree | 9be6b3004c259d8afe08dce170fa04c6d3265f35 /src/cli.rs | |
parent | chore(references): Add testing data (diff) | |
download | lpm-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.rs | 8 |
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)] |