Make a nim file of your choice (`testPackage/prelude.nim`), with the following 
content
    
    
    import testPackage / [submodule1, submodule2, submodule3]
    
    
    Run

Then just `include testPackage/prelude` and all of your imports should be there.

This approach is used by Karax.

Reply via email to