Fork me on GitHub
#leiningen
<
2024-03-21
>
Joel03:03:19

I’d like to rummage around source code and find variables with my metadata. How do I acquire all the namespaces? I can load a known namespace using ns-publics and discover the vars I’m interested in, but I don’t know how to discover the namespaces to iterate thru. That is, the file/namespaces under src.

vemv03:03:13

(all-ns) does the trick :) n.b. only require d namespaces will show up. If you have started your app at least once, of if you use tools.namespace, most/all of them will have been required already

Joel17:03:45

FYI, i ended up going with tools.namespace. Does what i need.

vemv17:03:18

Happy to hear 🤝