Closed masato-io closed 1 month ago
At present, only modifying files in the main package is supported at the CLI level, and any KCL file can be modified through the OverrideFile API like https://www.kcl-lang.io/docs/user_docs/guides/automation#3-use-kcl-api-for-automation or https://www.kcl-lang.io/docs/reference/xlang-api/overview
Understood, appreciate the clarifications. Will look into API stuff more & closing the issue 🙏
General Question
Let's say I have these two files:
workspace.k
app.k
Now, I'm wondering if there is any way to change app.k's starwars .name to
xyz
by only reading workspace.k file (knowing example below won't work.).E.g.,
Any elaboration would be appreciated.