Re: Noweb Function's body without evaluation

2023-04-03 Thread suarezmiguelc
Wow, works!, thank you very much. Now, I have a more specific example. #+name: initSSH #+begin_src shell :var connection=“admin@10.0.3.200" :noweb yes ssh -t miguel@172.28.3.249 "sudo -u admin ssh -t $connection 'sudo su'" #+end_src #+name: getClientInstanceNameNew #+begin_src shell :session

Babel zip after exporting file

2023-03-16 Thread suarezmiguelc
Hello Emacs org-mode community, I’m trying this example: ** index.js :PROPERTIES: :header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip index.js && rm index.js") :END: First endpoint example: #+begin_src js exports.handler = async (event, context) => {

Re: Noweb Function's body without evaluation

2023-03-16 Thread suarezmiguelc
Hello Ken, thank you for your message, After reading the very interesting get_property function, I found that even though I will probably use it for some cases, it doesn’t apply directly, to my case. For more examples, if I have 1 source code block: >> #+name: greeting >> #+begin_src sh :var

Noweb Function's body without evaluation

2023-03-15 Thread suarezmiguelc
Hello Org-mode community. I’m using Emacs Doom Framework, specifically: Emacs 28.2 (build 1, aarch64-apple-darwin22.3.0, Carbon Version 169 AppKit 2299.4) of 2023-02-23. I use heavily org-mode for Literate DevOps, so I have a lot of shell commands that connect through SSH and do some things