Replies: 3 comments 2 replies
|
I guess what you mean is to import projectB files from projectA, right? One way is to maintain the same
kcl.mod
projecta/
myconfig.k
projectb/
configschema/
configfile1.k
configfile2.kThe code of import projectb.configschema
foo = configschema.Foo {}# You need to complete the maintenance of projectB in advance, such as a separate git repo
kpm init projectA && kpm add projectB && kpm run |
0 replies
|
Thank you. That works! However, I'd like to use kcl files everywhere because they're very helpful. It would be great if, instead of placing |
2 replies
|
That will work. Thank you. KCL is fantastic. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I'd like to use kcl file in one project by referencing a kcl.mod folder in another project. Is this possible?
I tried setting an environment variable
KCL_MODbut that did not work. It would be helpful to manage a kcl project in one folder and reference it from other projects. Is this possible?All reactions