A command line tool to tangle code blocks in org file to source code file. - A faster way to tangle org-mode.
I recommend ntangle, if you need more complete org-mode supports.
To build the program, nightly rust toolchain is needed.
rustup
is the tool to help programmers install rust toolchains.
- One can get rustup from :: https://rustup.rs
Then do:
rustup install nightly
cargo +nightly install org-tangle
``` USAGE: org-tangle [FLAGS] [PATH]...
FLAGS: -r, --recursive recursively traverse
ARGS:
.org
files
ignore .org
files without tangle property
```
In file engine.org
```
```
lib.rs
#+begin_src <lang>
and #+end_src
```
fn tangle (string: &str) -> Result
```
engine.org
is tangled to lib.rs