Generate flow docs with lein project #62
Replies: 1 comment
-
Hi! Sure, you can run flow-storm.api/cli-doc from your clojure repl also, doesn't matter if you start it with lein or clj. First you need to add the flow-storm-dbg dependency Then to generate your documentation, once you are in your lein repl you can require and call the function :
You can add that to your dev.clj if you have one, or create a script so you have it when you need it. That will generate a jar file, in this case is going to be Now to browse documentation you need to bring docs jars on your classpath, lein should be able to do this like this :
now you can start your repl and start the debugger like :
And that is it. There are a bunch of steps but you need to do them once (or whenever you want to update the docs) I hope that works, jump into #flow-storm on clojurians slack if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
Hey, I read this page /~https://github.com/jpmonettas/flow-storm-debugger/blob/flow-docs/docs/flow_docs.md
and wanted to try it out, but my project is made with leiningen and I don't have
clj
installed, so the sample command doesn't work.I found this https://jpmonettas.github.io/flow-storm-debugger/user_guide.html#_clojure but I'm not sure how to translate the arguments to something lein would accept.
Could you help me with an equivalent lein command? Also, do you know if it's possible to run this as a lein plugin, without editing
project.clj
?Thanks :D
Beta Was this translation helpful? Give feedback.
All reactions