I'm trying to read the details from Ballerina.toml in code.
e.g. given the following, how can I access the name value from a module .bal file?
[package]
org = "myOrg"
name = "pkg"
version = "0.1.0"
I'm trying to read the details from Ballerina.toml in code.
e.g. given the following, how can I access the name value from a module .bal file?
[package]
org = "myOrg"
name = "pkg"
version = "0.1.0"
Ballerina does not have a lang API to get the current module information. I have created an issue and started a discussion to support it. : https://github.com/ballerina-platform/ballerina-lang/issues/31018