Closed pb-cdunn closed 5 years ago
There was a time when parseopt3
, argcvt
, and cligen
all lived up a level but textUt
did not which is where that "cligen/" came from. Back in 2015 when I started, I had been hoping that nimble might grow to impose less project structure, like letting you declare multiple exported modules and also perhaps hoping the stdlib might take parseopt3
leaving just cligen
and argcvt
on equal footing (with the idea that argcvt
might be usable in other contexts, but cligen
wouldn't make sense without argcvt
and without proliferating packages). When neither of those seemed likely to ever happen and people complained about nimble warnings Re project structure, I just put everything under cligen/
except cligen.nim
. I missed the cligen/textUt
change I should have made back then. Thanks for catching this.
Let me know if this doesn't fix your problem.
cligen
is a symlink to../repos/cligen
, and../repos/cligen
is where I check-out your sub-modules.foo.nim:
cligen.nim
:argcvt.nim
:The fix is to use relative imports. (Maybe this is some other fix?) I'll post a PR ...